- Complicated Declarations - General Questions
- Complicated Declarations - Find Output of Program
- Complicated Declarations - Point Out Errors
- Complicated Declarations - True / False Questions
- Complicated Declarations - Yes / No Questions


Complicated Declarations - Programming
Q1: Point out the error in the following program.
#include<stdio.h>
void display(int (*ff)());
int main()
{
int show();
int (*f)();
f = show;
display(f);
return 0;
}
void display(int (*ff)())
{
(*ff)();
}
int show()
{
printf('AptitudeCrack');
}
A Error: invalid parameter in function display()
B Error: invalid function call f=show;
C No error and prints "AptitudeCrack"
D No error and prints nothing.
ANS:A - Error: invalid parameter in function display() No answer description is available. Let's discuss. |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.