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 |
How to reverse a linked list
1 Answers Aricent, Fidelity, IBM, TCS,
main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??
19 Answers EBS, Ramco, Sangwin, TCS,
How does placing some code lines between the comment symbol help in debugging the code?
what do you mean by enumeration constant?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What are the different pointer models in c?
What is hash table in c?
What is external variable in c?
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }
What is getche() function?
Mention four important string handling functions in c languages .
What is static identifier?