Home » C++ Programming » Variable Types » Question
  1. What does the following statement mean?
    int (*fp)(char*)
    1. function taking a char* argument and returning a pointer to int
    2. pointer to a pointer
    3. pointer to an array of chars
    4. pointer to function taking a char* argument and returns an int
    5. None of these
Correct Option: D

pointer to function taking a char* argument and returns an int



Your comments will be displayed only after manual approval.