Q:

If an array of objects is of size 10 and a data value have to be retrieved from 5th object then ________________ syntax should be used

0

If an array of objects is of size 10 and a data value have to be retrieved from 5th object then ________________ syntax should be used


  1. Array_Name[4].data_variable_name;
  2. Data_Type Array_Name[4].data_variable_name;
  3. Array_Name[4].data_variable_name.value;
  4. Array_Name[4].data_variable_name(value);

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Array_Name[4].data_variable_name;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Can we have two dimensional object array?... >>
<< The Object array is created in ___________________...