C++ Multiple Choice Questions Page 10 of 14

Home » C++ » MCQs

Showing Page 10 (181 - 200)

Question: 181

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: structure in C++

Question: 182

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: union in C++

Question: 183

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


Level: Beginner
Category of MCQ: structure in C++

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;


Level: Beginner
Category of MCQ: structure in C++

Question: 185

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


Level: Beginner
Category of MCQ: structure in C++

Question: 186

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


Level: Beginner
Category of MCQ: enum in C++

Question: 187

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: other in C++

Question: 188

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: datatype in C++

Question: 189

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: filehandling in C++

Question: 190

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


Level: Practitioner
Category of MCQ: filehandling in C++

Question: 191

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: filehandling in C++

Question: 192

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


Level: Beginner
Category of MCQ: filehandling in C++

Question: 193

(A) TRUE
(B) FALSE


Level: Expert
Category of MCQ: filehandling in C++

Question: 194

(A) TRUE
(B) FALSE


Level: Practitioner
Category of MCQ: filehandling in C++

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


Level: Practitioner
Category of MCQ: filehandling in C++

Question: 196

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: classesAndobjects in C++

Question: 197

(A) TRUE
(B) FALSE


Level: Beginner
Category of MCQ: inheritance in C++

Question: 198

(A) True
(B) False


Level: Beginner
Category of MCQ: classesAndobjects in C++

Question: 199

(A) True
(B) False


Level: Beginner
Category of MCQ: classesAndobjects in C++

Question: 200

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


Level: Beginner
Category of MCQ: classesAndobjects in C++

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.