#include<stdio.h>
#include<conio.h>
static int a[4];
int main()
{
int i;
clrscr();
for(i=0;i<4;i++)
{
printf("%d ",a[i]);
}
changearr();
getch();
return 0;
}
int changearr()
{
int j;
for(j=0;j<4;j++)
{
a[j]=a[j]+5;
printf("%d ",a[j]);
}
return 0;
}
Friday, 27 April 2012
Program illustrating the use of Static External Variables in C
Labels:
Basic Programs in C,
C,
C Programs for B.Tech CSE,
C Programs for Engineers,
Data Structures and Algorithms in C,
Implementations in C,
Important C Programs for Interviews,
Important Programs in C++,
Interesting Programs in C Language,
Programming for Engineers,
Programs for Static Variables in C,
Static External Variables in C,
Static Variables in C
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment