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
How would you obtain the current time and difference between two times?
Tell me can the size of an array be declared at runtime?
What are the __date__ and __time__ preprocessor commands?
Can we compile a program without main() function?
What is a lvalue
What does struct node * mean?
What is the process to create increment and decrement stamen in c?
Explain is it valid to address one element beyond the end of an array?
What is the use of bit field?
What does sizeof int return?
Why do we use pointer to pointer in c?
Where define directive used?
Write a program to generate random numbers in c?
What are valid signatures for the Main function?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;