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

What is hashing in c?

0 Answers  


What is %g in c?

0 Answers  


Why do we use null pointer?

0 Answers  


What is main void in c?

1 Answers  


What is the significance of an algorithm to C programming?

0 Answers  


How can I implement a delay, or time a users response, with sub-second resolution?

0 Answers  


write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 Answers  


How can I read and write comma-delimited text?

0 Answers  


What are bit fields? What is their use?

2 Answers   Adobe,


Write a simple code fragment that will check if a number is positive or negative.

0 Answers  


Find occurence of a character in a sting.

3 Answers   TCS,


What is array in c with example?

0 Answers  


Categories