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

List the difference between a "copy constructor" and a "assignment operator"?

1006


What is the Purpose of 'extern' keyword in a function declaration?

1077


What is "Duff's Device"?

1163


What is c token?

1064


Are local variables initialized to zero by default in c?

1042


What is advantage of pointer in c?

1179


What is a lvalue

1077


What is a structure member in c?

995


Explain what is output redirection?

1185


Why n++ execute faster than n+1 ?

2980


How are variables declared in c?

1087


What is the description for syntax errors?

1160


What is gets() function?

1119


Explain null pointer.

1105


What is the use of pragma in embedded c?

1049