C++ Multiple Choice Questions Page 8 of 14

Home » C++ » MCQs

Showing Page 8 (141 - 160)

Question: 141

(A) Compilation Error
(B) 0
(C) 1
(D) -4



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

Question: 142

(A) data
(B) members
(C) objects
(D) none of these



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

Question: 143

(A) 128
(B) 256
(C) 1024
(D) None of the above



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

Question: 144

(A) Yes
(B) No
(C) Depends on Compiler



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

Question: 145

(A) int
(B) float
(C) class
(D) enum



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

Question: 146

(A) Yes
(B) No



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

Question: 147

(A) Yes
(B) No



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

Question: 148

(A) :?
(B) ::
(C) ->
(D) .



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

Question: 149

(A) namespace::a
(B) namesspace.a
(C) namespace->a
(D) namespace:a



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

Question: 150

(A) <iostream>
(B) <ofstream>
(C) <ifstream>
(D) <fstream>



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

Question: 151

(A) <ofstream>
(B) <outstream>
(C) <iofstream>
(D) <ostream>



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

Question: 152

(A) <ofstream>
(B) <ifstream>
(C) <fstream>
(D) <iostream>



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

Question: 153

(A) ios :: out
(B) ios :: app
(C) ios :: in
(D) ios::end



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

Question: 154

(A) ios::out | ios::in
(B) ios::out, ios::in
(C) ios::out || ios::in
(D) ios::out & ios::in



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

Question: 155

(A) Moves get pointer (input) to a specified location
(B) Moves put pointer (output) to a specified location
(C) Gives the current position of the get pointer
(D) Gives the current position of the put pointer



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

Question: 156

(A) Moves get pointer (input) to a specified location
(B) Moves put pointer (output) to a specified location
(C) Gives the current position of the get pointer
(D) Gives the current position of the put pointer



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

Question: 157

(A) Moves get pointer (input) to a specified location
(B) Moves put pointer (output) to a specified location
(C) Gives the current position of the get pointer
(D) Gives the current position of the put pointer



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

Question: 158

(A) Gives the current position of the put pointer
(B) Gives the current position of the get pointer
(C) Moves put pointer (output) to a specified location
(D) Moves get pointer (input) to a specified location



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

Question: 159

(A) For
(B) Do…While
(C) If
(D) While



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

Question: 160

(A) Branching
(B) Looping
(C) Rekursif
(D) Algorithm



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

Question: 161

(A) QT
(B) SDL
(C) WxWidget
(D) Bootstrap



Level: Practitioner
Category of MCQ: other 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.