What is the memory allocated by the following definition ?
int (*x)();
Answers were Sorted based on User's Feedback
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 |
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 |
What is #include stdio h and #include conio h?
to convert a string without using decrement operater and string functions
what is an inline function?
What is the purpose of 'register' keyword in c language?
what is c programing
can we declare a function in side the structure?
What is %d called in c?
What are global variables and explain how do you declare them?
what is an array
Subtract Two Number Without Using Subtraction Operator
What is function and its example?
How are structure passing and returning implemented?