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
write a progrmm in c language take user interface generate table using for loop?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What is indirection in c?
What is the code in while loop that returns the output of given code?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Write a Program to accept different goods with the number, price and date of purchase and display them
How are portions of a program disabled in demo versions?
Is fortran still used in 2018?
Can you tell me how to check whether a linked list is circular?
What is array of structure in c programming?
What are the header files used in c language?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Can you please explain the scope of static variables?
How to declare pointer variables?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b