Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C++ » C++ Objective Questions (Page-10)

C++ Objective Questions - Page-10

Page 10 (180 - 200)

Question: 180

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: structure
[Posted by: Andrew | New Jersey]


Question: 181

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: structure
[Posted by: Andrew | New Jersey]


Question: 182

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: union
[Posted by: Andrew | New Jersey]


Question: 183

(A) a member
(B) an array
(C) a tag
(D) None of these

Compiler
Level: Beginner Category: structure
[Posted by: Andrew | New Jersey]


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;

Compiler
Level: Beginner Category: structure
[Posted by: Andrew | New Jersey]


Question: 185

(A) cout<<student1.gpa;
(B) cout<<firstStudent.gpa;
(C) cout<<student[1].gpa;
(D) cout<<student1 ->gpa;

Compiler
Level: Beginner Category: structure
[Posted by: Andrew | New Jersey]


Question: 186

(A) MAPLE
(B) 2
(C) ‘M’
(D) 1

Compiler
Level: Beginner Category: enum
[Posted by: Andrew | New Jersey]


Question: 187

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: other
[Posted by: Andrew | New Jersey]


Question: 188

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: datatype
[Posted by: Andrew | New Jersey]


Question: 189

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: filehandling
[Posted by: Andrew | New Jersey]


Question: 190

(A) file.open(“c:filename.txt”);
(B) open(afile) = link(anObject);
(C) linkstream(“filenemae.txt”)
(D) link(open(filename.txt);

Compiler
Level: Practitioner Category: filehandling
[Posted by: Andrew | New Jersey]


Question: 191

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: filehandling
[Posted by: Andrew | New Jersey]


Question: 192

(A) get
(B) write
(C) put
(D) insert

Compiler
Level: Beginner Category: filehandling
[Posted by: Andrew | New Jersey]


Question: 193

(A) TRUE
(B) FALSE

Compiler
Level: Expert Category: filehandling
[Posted by: Andrew | New Jersey]


Question: 194

(A) TRUE
(B) FALSE

Compiler
Level: Practitioner Category: filehandling
[Posted by: Andrew | New Jersey]


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

Compiler
Level: Practitioner Category: filehandling
[Posted by: Andrew | New Jersey]


Question: 196

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: classesAndobjects
[Posted by: Andrew | New Jersey]


Question: 197

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: inheritance
[Posted by: Andrew | New Jersey]


Question: 198

(A) True
(B) False

Compiler
Level: Beginner Category: classesAndobjects
[Posted by: Andrew | New Jersey]


Question: 199

(A) True
(B) False

Compiler
Level: Beginner Category: classesAndobjects
[Posted by: Andrew | New Jersey]


Question: 200

(A) Honda->run;
(B) Honda.run();
(C) run()
(D) Honda()

Compiler
Level: Beginner Category: classesAndobjects
[Posted by: Andrew | New Jersey]