what is the output of the following program and explain the
answer
#include<stdio.h>
exp()
{
main(5)
}
main(int a)
{
printf("%d",a);
return;
}
Answer Posted / vignesh1988i
first of all this will give an error tat 'exp()' is not declared or it needs a prototype & if the 'exp()' is corrected and ';' is added in calling function of main(5) this will print as 5
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What are header files in c programming?
What is c standard library?
Differentiate fundamental data types and derived data types in C.
What is the purpose of sprintf?
What is calloc()?
What is cohesion in c?
What is new line escape sequence?
Tell me what is the purpose of 'register' keyword in c language?
What is meant by recursion?
What is ponter?
Why is void main used?
Why c is called top down?
What are the data types present in c?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
Is a house a shell structure?