Multiple choice technology programming languages

int p(char *a[])

  1. p is a pointer to a function that accepts an argument which is a pointer to a character and returns an integer quantity

  2. p is a function that accepts an argument which is a pointer to a character array and returns an integer quantity

  3. p is a function that accepts an argument which is a pointer to a character and returns a pointer to a 10 element integer array

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In the declaration int p(char *a[]), p is a function that accepts an argument a, which is an array of pointers to characters (or a pointer to a character array), and returns an integer value.