What is the output of the below program and how it is?
void main()
{
static int var=5;
printf("%d",var--);
if(var)
main();
}
Answer Posted / anirban
if-statement is not properly declared
so error is there in the program
| Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
What is union in c?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
How can I find out how much free space is available on disk?
i want to know the procedure of qualcomm for getting a job through offcampus
What are pointers in C? Give an example where to illustrate their significance.
a c code by using memory allocation for add ,multiply of sprase matrixes
What is hashing in c?
What do header files do?
How can I implement a delay, or time a users response, with sub-second resolution?
What does 2n 4c mean?
What is linear search?
What is const and volatile in c?
Explain the properties of union. What is the size of a union variable
I need testPalindrome and removeSpace
#include
Is it possible to pass an entire structure to functions?