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

Illegal application of ++ to void data type & pointer function initialized like a variable



Your comments will be displayed only after manual approval.