-
What will be the output of the following C code?
#include
void function()
{
printf("Interview mania World");
}
void main()
{
void *p() = function;
p++
p();
}
-
- Illegal application of ++ to void data type & pointer function initialized like a variable
- Illegal application of ++ to void data type
- pointer function initialized like a variable
- All of above
- None of these
Correct Option: A
Illegal application of ++ to void data type & pointer function initialized like a variable