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 are logical errors and how does it differ from syntax errors?
What is default value of global variable in c?
Why is it that not all header files are declared in every C program?
What language is lisp written in?
How can I do serial ("comm") port I/O?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
Explain the difference between malloc() and calloc() in c?
What is restrict keyword in c?
Write the control statements in C language
What is use of integral promotions in c?
How can you increase the allowable number of simultaneously open files?
Write a program to find factorial of a number using recursive function.
Explain how can you tell whether a program was compiled using c versus c++?
write a program to find out prime number using sieve case?
In a header file whether functions are declared or defined?