
- C Programming Tutorial
- C - Home
- C - Overview
- C - Environment Setup
- C - Program Structure
- C - Basic Syntax
- C - Data Types
- C - Variables
- C - Constants
- C - Storage Classes
- C - Operators
- C - Decision Making
- C - Loops
- C - Functions
- C - Scope Rules
- C - Arrays
- C - Pointers
- C - Strings
- C - Structures
- C - Unions
- C - Bit Fields
- C - Typedef
- C - Input & Output
- C - File I/O
- C - Preprocessors
- C - Header Files
- C - Type Casting
- C - Error Handling
- C - Recursion
- C - Variable Arguments
- C - Memory Management
- C - Command Line Arguments
- C Programming useful Resources
- C - Questions & Answers
- C - Quick Guide
- C - Useful Resources
- C - Discussion
Find the area of a circle in C programming.
A circle is a closed figure. All the points of the circle are equidistant from a point that lies inside in circle. The point at the center is known as the center of the circle. The distance of points from the center is known as the radius.
The area is the quantitative representation of the span of the dimensions of a closed figure.
The area of circle is the area enclosed inside the dimensions of a circle.
The formula for calculating the area of a circle,
Area = π*r*r
To calculate the area we are given the radius of the circle as input and we will use the formula to calculate the area,
Algorithm
STEP 1: Take radius as input from the user using std input. STEP 2: Calculate the area of circle using, area = (3.14)*r*r STEP 3: Print the area to the screen using the std output.
Example
Variables used −
int r , the radius of the circle
float area, the area of circle calculated using the formula.
#include <stdio.h> int main(){ int r = 8; float area = (3.14)*r*r; printf("The area of the circle is %f",area); return 0; }
Output
The area of the circle is 200.96
- Related Articles
- C Program for Program to find the area of a circle?
- Find the Area of a Circle in Java Program
- Find the area of largest circle inscribed in ellipse in C++
- How to find the Area of a Circle in Golang?
- Java program to find the area of a circle
- Python Program to find the area of a circle
- Swift Program to Find the Area of a Circle
- Kotlin Program to Find the Area of a Circle
- Find the Area of a Circle Inscribed in a Square in Java
- Area of a Circumscribed Circle of a Square in C++
- JavaScript program to find area of a circle
- C program to find the area of circle and cylinder using structures.
- Find the circumference of circle whose area is $16$ times the area of the circle with diameter $1.4\ cm$.
- Find the area of a circle whose circumference is 44 cm.
- Find the circumference and area of a circle of radius 4.2 cm.

Advertisements