2081 11

C Programming20815 marksGraphics Function

Write a program to draw two shapes of your choice using graphics function.

Write a program to draw two shapes of your choice using graphics function. [5]

The two shapes chosen are a Circle and a Rectangle, both drawn using standard graphics functions from graphics.h. --- --- Step Description ------------------- int gd = DETECT, gm; Declares graphics driver and mode variables. DETECT auto-detects the driver. initgraph(&gd, &gm, "c:\tc\bgi") Initi...

Up nextWrite short notes on: a) Global variable b) Debugging Debugging [2.5+2.5]