Comment on the following 2 arrays with respect to P and Q. int *a1[8]; int *(a2[8]); P. Array of pointers Q. Pointer to an array

🎲 Try a Random Question  |  Total Questions in Quiz: 184  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C Programming Practice Test: Pointers and Arrays in C — practice the complete quiz, review flashcards, or try a random question.

Pointers and Arrays in C quiz on: Pointers and addresses, function arguments, arrays, address arithmetic, character pointers and functions, multidimensional arrays, pointer arrays initialization, command line arguments and complicated declarations. Arrays: Arrays are used to store multiple elements of the same data type in a contiguous block of memory. The index of an array represents the position of an element, starting from 0. Arrays are static, which means that their size is fixed once they are declared. Pointers: Pointers are variables that store the address of another variable or array... Show more

Comment on the following 2 arrays with respect to P and Q.<br> int *a1[8];<br> int *(a2[8]);<br> P. Array of pointers<br> Q. Pointer to an array