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
How can I sort a linked list?
What is the use of ?: Operator?
Explain indirection?
What is the purpose of sprintf?
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
How can I read in an object file and jump to locations in it?
Is c is a low level language?
What is calloc malloc realloc in c?
How is a structure member accessed?
What is void main ()?
Write a code to remove duplicates in a string.
Why c is procedure oriented?
Can you return null in c?
Explain 'bit masking'?
What is a union?