1.

Give explanation of declaration of one dimensional array with an example.

Answer»

int marks[6];

  • Name of the array is marks.
  • Type of the array is integer.
  • Size of the array is 6. i.e., we can store up to 6 integer values in the array.


Discussion

No Comment Found

Related InterviewSolutions