What is the output of below code?
main() { static int a=5; printf("%3d",a--); if(a) main(); }
Answer Posted / vikas
output is 5 4 3 2 1
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Are there namespaces in c?
Explain what is output redirection?
What is the concatenation operator?
What is malloc calloc and realloc in c?
Is main an identifier in c?
Can 'this' pointer by used in the constructor?
What are the different properties of variable number of arguments?
What is a protocol in c?
What happens if you free a pointer twice?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
How can I copy just a portion of a string?
Did c have any year 2000 problems?
Explain what is wrong in this statement?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the difference between malloc calloc and realloc in c?