C++ Multiple Choice Questions for Practitioners

Home » C++ » MCQs for Practitioners

Showing 51 - 75 of 124


Question: 51

(A) Yes
(B) No



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

Question: 52

(A) It is volatile because it can change at any time
(B) It is const because our C program must not try to modify it
(C) Change value outside by means outside our C program
(D) All of these



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

Question: 53

(A) It saves memory
(B) It releases memory once it go out of scope
(C) It inrease execution time of program
(D) None of these



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

Question: 54

(A) ios::trunc
(B) ios::ate
(C) ios::app
(D) ios::tellg



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

Question: 55

(A) blue
(B) 2
(C) 1
(D) None of these



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

Question: 56

(A) blue
(B) Compilation Error
(C) 1
(D) 2



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

Question: 57

(A) yellow
(B) black
(C) Compilation Error
(D) 3



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

Question: 58

(A) black
(B) 0
(C) -1
(D) Some Garbage Value



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

Question: 59

(A) 0
(B) 1
(C) 2
(D) 4



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

Question: 60

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



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

Question: 61

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



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

Question: 62

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



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

Question: 63

(A) Yes
(B) No



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

Question: 64

(A) Yes
(B) No



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

Question: 65

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



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

Question: 66

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



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

Question: 67

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



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

Question: 68

(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: 69

(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: 70

(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: 71

(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: 72

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



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

Question: 73

(A) 9876543210
(B) 987654321
(C) 9
(D) 0



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

Question: 74

(A) 0
(B) 1
(C) 2
(D) error



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

Question: 75

(A) std::vector<integer> vecOfInts;
(B) std::vector int <vecOfInts>
(C) std::vector(int) vecOfInts;
(D) std::vector<int> vecOfInts;



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