VOOZH about

URL: https://www.geeksforgeeks.org/c/c-program-area-of-circle/

⇱ C Program to Find Area of Circle - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

C Program to Find Area of Circle

Last Updated : 23 Jul, 2025

The area of a circle is the region enclosed by the circle's boundary. In this article, we will learn the program to find the area of a circle in C programming.

The area of a circle can simply be evaluated using the formula:

Area = Pi * r2

where r is the radius of the circle and the value of Pi is 3.14159265358.

Algorithm to Find Area of Circle in C

  • Define a constant PI with the value of 3.142.
  • Create a function findArea.
  • Within the findArea function, Multiply PI by the square of the radius r and return the result.

Area of Circle Program in C


Output
Area is 78.550000

Complexity Analysis

Time Complexity: O(1)

Auxiliary Space: O(1)

Please refer complete article on Program to find the area of a circle for more details.

Comment
Article Tags:
Article Tags: