BGI Graphics with Turbo C

here we are showing a sample program for displaying a circle on console with the help of Turbo C.

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
    int x,y,r;
    int gd = DETECT ,gm;
    
    //"" if no subdirectory for BGI is there
    // if subdirectory is there, mention full path
    initgraph(&gd,&gm,""); 
    
    // circle(x11y1,radius)
    circle(250,200,60);
    getch();
}