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
Why do we write return 0 in c?
What is the argument of a function in c?
What header files do I need in order to define the standard library functions I use?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What are the 5 organizational structures?
What is difference between Structure and Unions?
What is the purpose of clrscr () printf () and getch ()?
Do string constants represent numerical values?
What does the file stdio.h contain?
What is keyword with example?
How to write a code for reverse of string without using string functions?
What is pointer to pointer in c?
What is an array in c?
What is data structure in c language?
What is the explanation for the dangling pointer in c?