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 / yogesh bansal
if we add semicolon after main(5) like ; main(5);
the ouput will be 1.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the meaning of typedef struct in c?
What is the difference between a string and an array?
What is wrong in this statement?
write a programming in c to find the sum of all elements in an array through function.
What is the mean of function?
What is the difference between functions getch() and getche()?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
how to construct a simulator keeping the logical boolean gates in c
What are reserved words?
What is call by value in c?
What does s c mean in text?
What is the scope of an external variable in c?
why wipro wase
How do you generate random numbers in C?