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 memory allocated by the following definition ?
int (*x)();

Answers were Sorted based on User's Feedback



What is the memory allocated by the following definition ? int (*x)();..

Answer / dddhacker

Wrong!
Its a function pointer, therefore on a 32 bit platform for
example, 4 bytes are allocated for it.

Is This Answer Correct ?    13 Yes 2 No

What is the memory allocated by the following definition ? int (*x)();..

Answer / ningappa

The above code is function pointer declaration.So there is
no memory allocated as it is just declaration and no value
is being assigned to it........

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More C Interview Questions

printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

0 Answers  


main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }

10 Answers   TCS, Vector,


differentiate built-in functions and user – defined functions.

0 Answers  


HOW TO SWAP TWO NOS IN ONE STEP?

16 Answers   Satyam,


the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0

1 Answers  


How can you access memory located at a certain address?

0 Answers  


What is the purpose of macro in C language?

0 Answers   Fidelity,


write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix

0 Answers  


What is a const pointer?

0 Answers  


If errno contains a nonzero number, is there an error?

0 Answers  


How can I make it pause before closing the program output window?

0 Answers  


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

0 Answers  


Categories