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 is not a pointer null after calling free?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is the explanation for the dangling pointer in c?
What is the difference between array and pointer in c?
What is the use of typedef in c?
Explain what is wrong in this statement?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
When can a far pointer be used?
How is a structure member accessed?
Does c have an equivalent to pascals with statement?
What is difference between constant pointer and constant variable?
what is the different bitween abap and abap-hr?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
write a program for the normal snake games find in most of the mobiles.