Single Dimensional Array - Quiz

  • A2
  • B10
  • C20
  • DTheoratically no limit. The only practical limits are memory size and compilers.
  • AInitialization is a part of definition
  • BIt is a declaratrion
  • CIt is a formal parameter
  • DAll of these
  • 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.
  • AThe code is erroneous since the statement declaring array is invalid.
  • BThe code is erroneous since the subscript for array used in for loop is in the range 1 to size.
  • C The code is correct and runs successfully.
  • DThe code is erroneous since the values of array are getting scanned through the loop.