graphdefaults


/*
Write a program in C for graphdefaults
*/

#include<graphics.h>
#include<conio.h>

main()
{
int gd = DETECT, gm;

initgraph(&gd, &gm, "C:\\TC\\BIN");

setcolor(RED);
 

setbkcolor(YELLOW);

circle(250, 250, 50);

getch();
 

graphdefaults();

getch();
 

closegraph();
 

return 0;
}

Post a Comment

0 Comments