Computer-Networks
August 10, 2024Pointers
Question 5 |
Which of the following statements is TRUE for the function prototype declaration given below?
Int *(*P)(char *Q[]);
P is a function that accepts an argument which is a character array and returns a pointer to an integer quantity. | |
P is a function that accepts an argument which is a pointer to a character array and returns a pointer to an integer quantity. | |
P is a pointer to a function that accepts an argument which is an array of character pointers, and returns a pointer to an integer quantity. | |
P is a pointer to function that accepts an argument which is a character array and returns a pointer to an integer quantity . |
Question 5 Explanation:
P is a pointer to a function that accepts an argument which is an array of character pointers, and returns a pointer to an integer quantity.
Correct Answer: C
Question 5 Explanation:
P is a pointer to a function that accepts an argument which is an array of character pointers, and returns a pointer to an integer quantity.
Subscribe
Login
0 Comments