circle() Function
Declaration of circle() function
void circle(int x, int y, int radius);
circle function is used to draw a circle with center (x,y)and third parameter specifies the radius of the circle. The code given below draws a circle.
C program for circle
#include<graphics.h>
#include<conio.h>
main()
{
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\ TurboC3\\BGI");
circle(100, 100, 50);
getch();
closegraph();
return 0;
}