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
What is #define in c?
Write a C program to count the number of email on text
What is the use of pragma in embedded c?
Do you know the use of 'auto' keyword?
What is the difference between typedef and #define?
Write a code to generate a series where the next element is the sum of last k terms.
Explain what is the general form of a c program?
What will be your course of action for a push operation?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What standard functions are available to manipulate strings?
What does int main () mean?
Why do we need functions in c?
How can I trap or ignore keyboard interrupts like control-c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Explain what is a 'locale'?