int *p(void)
-
p is a function that accepts an argument which is a pointer to a character and returns an integer quantity
-
p is a function that accepts an argument which is a pointer to a character and returns a pointer to an integer quantity
-
p is a function that returns a pointer to an integer quantity
-
None of the above
Reveal answer
Fill a bubble to check yourself
C
Correct answer
Explanation
The declaration int p(void) declares p as a function that takes no arguments (void) and returns a pointer to an integer (int). Option A and B incorrectly claim the function accepts a char* argument, but void means no parameters. Option D is incorrect because option C is accurate.