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 was noalias and what ever happened to it?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Can we assign integer value to char in c?
What does 1f stand for?
How to establish connection with oracle database software from c language?
What are the rules for the identifier?
If I have a char * variable pointing to the name of a function ..
What is the use of a static variable in c?
Can you please explain the scope of static variables?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What are data types in c language?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Is it better to bitshift a value than to multiply by 2?