Question types

Arrays question types

51 questions across 1 question group — pick any mix to generate a Computer paper with step-by-step answer keys.

51
Questions
1
Question groups
5
Question types
Sample Questions

Arrays questions

One sample from each question group in this chapter. Select any group above to see the full set with answer keys.

What happens if a C program tries to access a value from an array element whose subscript exceeds the size of array ?
  • A
    The element will be set to 0.
  • B
    The compiler would report an error.
  • The program may crash or gives garbage dat
  • D
    The array size increases automatically.

Answer: C.

View full solution
Which of the following is not provided by C?
  • A
    To make single dimensional array.
  • No bound check on array index.
  • C
    To make N-dimensional array.
  • D
    None of the given

Answer: B.

View full solution

Generate a Arrays paper free

Pick question groups from the list above, set marks and difficulty, and export a branded PDF with step-by-step answer keys. First 3 chapters free — no signup.

Download App