#include<stdio.h>
#define PI 3.14519
#define TWOPI (PI + PI)
void main ()
{
float rad, circum;
clrscr();
printf("Enter radius");
scanf("%f",&rad);
circum = TWOPI * rad;
printf("Circumference of the circle is : %f ",circum);
getch();
}
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement 
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 
To find circumference of a circle using macros.


 

 

 

 

 

 

 

 

 

 

 

Storage Classes

1 To demonstrate now automatic variables work
2 To demonstrate register storage class. To display the number and square from 1 to 5 using register variable.
3 To explain state storage class.
4 To explain external storage class.
5 To explain external storage class.

Pre processors

 

1 To find circumference of a circle using macros
2 To calculate cube of the given number using macro with arguments technique.
3 Use of # if example.
4 Simple # if/else example

 

 

 

     
ome       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement