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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I sort a linked list?

796


What is the use of ?: Operator?

884


Explain indirection?

858


What is the purpose of sprintf?

814


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

890


How can I read in an object file and jump to locations in it?

777


Is c is a low level language?

783


What is calloc malloc realloc in c?

802


How is a structure member accessed?

798


What is void main ()?

793


Write a code to remove duplicates in a string.

817


Why c is procedure oriented?

779


Can you return null in c?

844


Explain 'bit masking'?

831


What is a union?

789