#include<stdio.h>
#include<conio.h>
void example();
void main()
{
int i;
clrscr();
for(i=0;i<=3;i++)
{
example();
}
getch();
}
void example()
{
static int x = 10; //local static variable
x = x + 10;
printf("%d\t",x);
}

 
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 explain state storage class.


 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

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