# C Program to find Area of Circle using Pointer

## C Programto find Area of Circle using Pointer

This page has a C Program to find Area of Circle using PointerThe Area of Circle using Pointer can be calculated by using a formulae. I mean that, the formulae for finding the Area of Circle is 3.14 * radius * radius . For example:  if the radius of Circle is 3.0, then the Area of Circle will be 28.26. Moreover, if the radius of Circle is 5.0, then the Area of Circle will be 78.525. The below given C program will find the Area of Circle using Pointer.  Kindly check out the program to find the Area of Circle using Pointer

### Area of Circle Program

#include<stdio.h>
int main(){
float ra, *acpr, Area_of_Circle, pi=3.14159;

clrscr();
printf("Give the radius of Circle : ");
scanf("%f", &ra);
acpr = &ra;
Area_of_Circle = pi * *acpr * *acpr;
printf("\n\n The Area of Circle is : %f", Area_of_Circle);

getch();
return (0);
}

Sample Output:

Give the radius of Circle : 5
The Area of Circle is : 78.539749

Give the radius of Circle : 4
The Area of Circle is : 50.265

Related Popular Posts:

*  Write a c program to check whether a given number is prime number or not?

*  Write a C program to find the prime numbers between 1 and 100

*  Write a C program to display the prime numbers between a range ?

*  Write a C program to find the prime numbers between a range using while loop?

*  Write a C program to find the sum of prime numbers between a range