extern static int i
func()
{
i =10;
i++;
printf("%d \n",i);
}
main()
{
i =20;
printf("%d \n",i);
func();
printf("%d \n",i);
}
Answer Posted / ashwini prakash
output will be..
20
11
20
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Are c and c++ the same?
What is void main ()?
What are c identifiers?
How can I sort a linked list?
What is c method?
How can I get random integers in a certain range?
What does c mean in standard form?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
about c language
What is the Purpose of 'extern' keyword in a function declaration?
How important is structure in life?
What is the difference between single charater constant and string constant?
simple program of graphics and their output display
How many types of arrays are there in c?
Create a simple code fragment that will swap the values of two variables num1 and num2.