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 |
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
i want to job in your company, so how it will be possible.
Why doesn't C have nested functions?
What is the scope of static variables?
Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.
What is the difference between null pointer and void pointer
10 Answers CTS, Manforce, MAQ Software,
How can you be sure that a program follows the ANSI C standard?
WAP to convert text into its ASCII Code and also write a function to decode the text given?
What language is lisp written in?
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
write a program that will print %d in the output screen??
can we define a function in structure?