Created
June 26, 2019 10:48
-
-
Save anonur/fd7c94da094ea60d53145b73d4402c16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
/* global variable declaration */ | |
int g; | |
int main() { | |
/* local variable declaration */ | |
int a,b; | |
/* actual initialization */ | |
a = 10; | |
b = 20; | |
g = a + b; | |
printf("value of a = %d, b = %d and g = %d\n",a ,b, g); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment