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

Does c have circular shift operators?

1193


What is bin sh c?

1002


Explain low-order bytes.

990


Why do we use int main?

1054


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2407


How do you declare a variable that will hold string values?

1119


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1681


What is the difference between test design and test case design?

2046


can we have joblib in a proc ?

2243


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1341


what is reason of your company position's in india no. 1.

2250


What is echo in c programming?

974


Write a code on reverse string and its complexity.

991


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2053


Tell us something about keyword 'auto'.

1018