[Solved] What’s the difference between “int a[5]” and int (*a)[5], int a[5][4] and int (*a)[5]? (C only)


  1. int a[5] a is an array of 5 int.
  2. int (*a)[5] a is a pointer to an array of 5 int.
  3. int a[5][4] a is an array of 5 array of 4 int.
  4. int *a[5] a is an array of 5 int pointers.

6

solved What’s the difference between “int a[5]” and int (*a)[5], int a[5][4] and int (*a)[5]? (C only)