Tag Archives: symbolic

Write a symbolic constant or a macro definition for each of the following : 9m Dec2005

 Write a symbolic constant or a macro definition for each of the following : 9m Dec2005 (i) Define a macro called AREA, which will calculate area of circle in terms of radius. Use the constant PI in calculation. # include<stdio.h> # define PI 3.142857 # define AREA(radius) PI * radius * radius main( ) {… Read More »