C++ Multiple Choice Questions Page 10 of 14

Home » C++ » Objective Questions

Showing Page 10 (181 - 200)

Question: 181

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: structure


Question: 182

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: union


Question: 183

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

Compiler
Level: Beginner Category: structure


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


Question: 185

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

Compiler
Level: Beginner Category: structure


Question: 186

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

Compiler
Level: Beginner Category: enum


Question: 187

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: other


Question: 188

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: datatype


Question: 189

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: filehandling


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


Question: 191

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: filehandling


Question: 192

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

Compiler
Level: Beginner Category: filehandling


Question: 193

(A) TRUE
(B) FALSE

Compiler
Level: Expert Category: filehandling


Question: 194

(A) TRUE
(B) FALSE

Compiler
Level: Practitioner Category: filehandling


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


Question: 196

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: classesAndobjects


Question: 197

(A) TRUE
(B) FALSE

Compiler
Level: Beginner Category: inheritance


Question: 198

(A) True
(B) False

Compiler
Level: Beginner Category: classesAndobjects


Question: 199

(A) True
(B) False

Compiler
Level: Beginner Category: classesAndobjects


Question: 200

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

Compiler
Level: Beginner Category: classesAndobjects


C++ Online Test
Compile C++ code here

Browse C++ Categories

Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++11 C++17 C++20 Time & Space Complexity others

Switch to C Questions

MCQs

About Us | Contact Us | Privacy Policy | Career  | Online Training
Youtube   LinkedIn   Facebook   Twitter   Instagram  
Copyright©CppBuzz.com
Like many websites, we use cookies to ensure best browsing experience on our website. While using this website, you acknowledge to have read and accepted our cookie and privacy policy.