Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the meaning of typedef struct in c?

1029


What is the difference between a string and an array?

1178


What is wrong in this statement?

1106


write a programming in c to find the sum of all elements in an array through function.

2142


What is the mean of function?

1089


What is the difference between functions getch() and getche()?

1067


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2103


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1060


how to construct a simulator keeping the logical boolean gates in c

2228


What are reserved words?

1064


What is call by value in c?

977


What does s c mean in text?

1074


What is the scope of an external variable in c?

1017


why wipro wase

2277


How do you generate random numbers in C?

1164