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
Is c is a high level language?
what is the format specifier for printing a pointer value?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is the best style for code layout in c?
What is ## preprocessor operator in c?
Write a program to check palindrome number in c programming?
What is the use of typedef in c?
Is this program statement valid? INT = 10.50;
How are pointers declared in c?
When c language was developed?
What are valid signatures for the Main function?
Subtract Two Number Without Using Subtraction Operator
What does. int *x[](); means ?
What is sizeof in c?
Difference between MAC vs. IP Addressing