[{"id":190371,"question":"What will be the correct syntax to access the value of fourth element of an array using pointer ptr?","choices":[{"text":"ptr[3]","value":"A"},{"text":"(ptr+3)","value":"B"},{"text":"*(ptr+3)","value":"C"},{"text":"Both 1and 3","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":190370,"question":"What will be the correct syntax to assign an array named arr of 5 elements to a pointer ptr?","choices":[{"text":"*ptr = arr ;","value":"A"},{"text":"ptr = arr ;","value":"B"},{"text":"*ptr = arr[5] ;","value":"C"},{"text":"ptr = arr[5] ;","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190369,"question":"Overloaded new operator function takes parameter of type size_t and returns","choices":[{"text":"void (nothing)","value":"A"},{"text":"void pointer","value":"B"},{"text":"object pointer","value":"C"},{"text":"int pointer","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190368,"question":"The statement cin.get (); is used to,","choices":[{"text":"Read a string from keyboard","value":"A"},{"text":"Read a character from keyboard","value":"B"},{"text":"Read a string from file","value":"C"},{"text":"Read a character from file","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190367,"question":"What does (*this) represents?","choices":[{"text":"The current function of the class","value":"A"},{"text":"The current pointer of the class","value":"B"},{"text":"The current object of the class","value":"C"},{"text":"A value of the data member","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":190366,"question":"*.doc is _____________ by type.","choices":[{"text":"Sequential File","value":"A"},{"text":"Random Access File","value":"B"},{"text":"Data File","value":"C"},{"text":"Record File","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190365,"question":"Memory allocated at run time is a system resource and it is the responsibility of _____ to de-allocate the memory.","choices":[{"text":"System","value":"A"},{"text":"Programmer","value":"B"},{"text":"User of program","value":"C"},{"text":"None of given options","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190364,"question":"The code is written to __________ the program.","choices":[{"text":"implement","value":"A"},{"text":"design","value":"B"},{"text":"analysis","value":"C"},{"text":"none of the given options","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190363,"question":"The return type of the operator function for &lt;&lt; operator is __________.","choices":[{"text":"class for which we overload operator","value":"A"},{"text":"reference of ostream class (ostream&amp;)","value":"B"},{"text":"reference of istream class (istream&amp;)","value":"C"},{"text":"void","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190362,"question":"If text is a pointer of class String then what is meant by the following statement? text = new String [5];","choices":[{"text":"Creates an array of 5 string objects statically","value":"A"},{"text":"creates an array of 5 string objects dynamically","value":"B"},{"text":"Creates an array of pointers to string","value":"C"},{"text":"Creates a string Object","value":"D"},{"value":"E"}],"correctAnswer":2}]