Home » C++ » MCQs
Showing Page 10 (181 - 200)
Question: 181
Question: 182
Question: 183
(A) a member
(B) an array
(C) a tag
(D) None of these
Question: 184
(A) employee[2]->hourlyWage = 50.00;
(B) employee2.hourlyWage = 7.50;
(C) hourlyWage[2].employee = 29.75;
(D) employee[2].hourlyWage = 75.00;
Question: 185
(A) cout<<student1.gpa;
(B) cout<<firstStudent.gpa;
(C) cout<<student[1].gpa;
(D) cout<<student1 ->gpa;
Question: 186
Question: 187
Question: 188
Question: 189
Question: 190
(A) file.open(“c:filename.txt”);
(B) open(afile) = link(anObject);
(C) linkstream(“filenemae.txt”)
(D) link(open(filename.txt);
Question: 191
Question: 192
Question: 193
Question: 194
Question: 195
(A) At the end of the file
(B) At the beginning of the file
(C) Nonexistent until the program declares it
(D) There is no read position
Question: 196
Question: 197
Question: 198
Question: 199
Question: 200
(A) Honda->run;
(B) Honda.run();
(C) run()
(D) Honda()
C++ Online Test
Compile C++ code here