Array in C Language - Quiz

  • A 2
  • B 10
  • C 20
  • D Theoratically no limit. The only practical limits are memory size and compilers.
  • A 0 0
  • B Garbage value 0
  • C 0 Garbage Value
  • D Garbage vlaue Garbage Value
  • A Initialization is a part of definition
  • B It is a declaratrion
  • C It is a formal parameter
  • D All of these
  • A int num[6] = { 2, 4, 12, 5, 45, 5 };
  • B int n{} = { 2, 4, 12, 5, 45, 5 };
  • C int n{6} = { 2, 4, 12 };
  • D int n(6) = { 2, 4, 12, 5, 45, 5 };