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

Why do we write return 0 in c?

1128


What is the argument of a function in c?

1101


What header files do I need in order to define the standard library functions I use?

1118


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

2308


What are the 5 organizational structures?

1080


What is difference between Structure and Unions?

1306


What is the purpose of clrscr () printf () and getch ()?

1112


Do string constants represent numerical values?

1448


What does the file stdio.h contain?

1119


What is keyword with example?

1122


How to write a code for reverse of string without using string functions?

2200


What is pointer to pointer in c?

1152


What is an array in c?

1094


What is data structure in c language?

1161


What is the explanation for the dangling pointer in c?

1175