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 / 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


Please Help Members By Posting Answers For Below Questions

Is c is a high level language?

1192


what is the format specifier for printing a pointer value?

1018


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1217


What is the best style for code layout in c?

1098


What is ## preprocessor operator in c?

1083


Write a program to check palindrome number in c programming?

1013


What is the use of typedef in c?

1030


Is this program statement valid? INT = 10.50;

1145


How are pointers declared in c?

1057


When c language was developed?

1058


What are valid signatures for the Main function?

1225


Subtract Two Number Without Using Subtraction Operator

845


What does. int *x[](); means ?

1064


What is sizeof in c?

1007


Difference between MAC vs. IP Addressing

1147