#include < graphics.h >
#include < stdio.h >
int main() {
int i;
int graphdriver = DETECT;
int graphmode;
initgraph( & graphdriver, &graphmode, "");
cleardevice();
putpixel(0, 0, 2);
i = getpixel(0, 0);
getch();
printf("(0,0):%d", i);
getch();
closegraph();
return 0;
}