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

Do character constants represent numerical values?

0 Answers  


What is the meaning of c in c language?

0 Answers  


write a program to print the one dimensional array.

1 Answers  


What is memory leak in c?

0 Answers  


Explain how can I pad a string to a known length?

0 Answers  


What is a 'null pointer assignment' error?

0 Answers  


What is typedef struct in c?

0 Answers  


what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1

0 Answers  


What is size of union in c?

0 Answers  


What is a constant?

0 Answers  


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100

1 Answers  


What is scanf () in c?

0 Answers  


Categories