Array in C Language - Quiz

  • Aint num[6] = { 2, 4, 12, 5, 45, 5 };
  • Bint n{} = { 2, 4, 12, 5, 45, 5 };
  • Cint n{6} = { 2, 4, 12 };
  • Dint n(6) = { 2, 4, 12, 5, 45, 5 };
  • AInitialization is a part of definition
  • BIt is a declaratrion
  • CIt is a formal parameter
  • DAll of these
  • Aptr is array of pointers to 10 integers
  • Bptr is a pointer to an array of 10 integers
  • Cptr is an array of 10 integers
  • Dptr is an pointer to array
  • AAddress of the array.
  • BValues of the first elements of the array.
  • CAddress of the first element of the array.
  • DNumber of element of the array.