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 |
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }
differentiate built-in functions and user – defined functions.
HOW TO SWAP TWO NOS IN ONE STEP?
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
How can you access memory located at a certain address?
What is the purpose of macro in C language?
write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix
What is a const pointer?
If errno contains a nonzero number, is there an error?
How can I make it pause before closing the program output window?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above