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

Predict the output or error(s) for the following:
25. main()
{
printf("%p",main);
}

Answer Posted / surenda pal singh chouhan

Some address will be printed.

Explanation:
Function names are just addresses (just like
array names are addresses).
main() is also a function. So the address of function main
will be printed. %p in printf specifies that the argument
is an address. They are printed as hexadecimal numbers.

26. main()

Is This Answer Correct ?    28 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of c preprocessor?

1209


Are the outer parentheses in return statements really optional?

1050


what will be maximum number of comparisons when number of elements are given?

1849


What is the purpose of the preprocessor directive error?

1199


Tell us two differences between new () and malloc ()?

1116


Is there a way to switch on strings?

1027


What are the salient features of c languages?

1045


What are the types of assignment statements?

1006


When can you use a pointer with a function?

991


What are two dimensional arrays alternatively called as?

1133


What does stand for?

1045


Can a local variable be volatile in c?

937


What is structure in c explain with example?

1090


What is modeling?

1001


Why do we use pointer to pointer in c?

1021