Monday, 23 February 2015

Global Variable in C


#include<stdio.h>
#include<conio.h>
int a=1000;
main()
{
{
printf("\n A Value is :%d",a);
}
{
printf("\n A Value is :%d",a);
}
{
printf("\n A Value is :%d",a);
}
printf("\n A Value is :%d",a);
Like();
getch();
}
Like()
{
printf("\n A Value is :%d",a);
}

No comments:

Post a Comment