Home C C++ Java Python Perl PHP SQL JavaScript Linux Online Test Forum

Home » Solved Programs » C program to find area of a Circle

C program to find area of a Circle

The formula to calculate area of Circle is pi * radius * radius, where the value is pi is 3.14. In this program user is asked to enter radius and the output is the area of circle.

#define PI 3.14

int main ()
float radius, area;

printf("Enter the radius of circle := ");

printf("Area of the circle with radius %f is = %f", radius, area);

return 0;

Finding area of Circle when radius is 2

Find area of circle in C programming