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
Is it better to use a macro or a function?
What are 3 types of structures?
What is #define in c?
What are multibyte characters?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
How do you do dynamic memory allocation in C applications?
What is a stream in c programming?
Is python a c language?
Explain what is the benefit of using const for declaring constants?
Explain how can type-insensitive macros be created?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
about c language
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
How do I swap bytes?
how can I convert a string to a number?