C++ Multiple Choice Questions Page 6 of 14

Home » C++ » MCQs

Showing Page 6 (101 - 120)

Question: 101

(A) VB.NET
(B) VB 6
(C) C++
(D) C#



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

Question: 102

(A) Uses buttons, menus, and icons
(B) Should be easy for a user to manipulate
(C) Stands for Graphic Use Interaction
(D) Both A and B



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

Question: 103

(A) Single
(B) Byte
(C) Short
(D) Integer



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

Question: 104

(A) class
(B) field
(C) function
(D) property



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

Question: 105

(A) char *intStr = itoa(a); string str = string(intStr);
(B) std::string s = std::to_string(42);
(C) char stringNum[20]; int num=100; sprintf(stringNum,"%d",num);
(D) None of the above



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

Question: 106

(A) Arguments are placed in registers
(B) Arguments are placed in stack
(C) Arguments are placed in Heap
(D) None of the above



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

Question: 107

(A) cdecl
(B) syscall
(C) pascal
(D) register



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

Question: 108

(A) ELF
(B) DLLs
(C) PE
(D) None of the above



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

Question: 109

(A) [capture](parameters)->return-type {body}
(B) [parameters](capture)->return-type {body}
(C) [capture][parameters]->return-type {body}
(D) (capture)(parameters)->return-type {body}



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

Question: 110

(A) Yes
(B) No



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

Question: 111

(A) It instruct the compiler to set default value to any variable
(B) It instruct the compiler to set default return value to any function
(C) It instruct the compiler to set default argument values for any function
(D) It instruct the compiler to generate the default implementation



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

Question: 112

(A) Checking the Grammar
(B) Finding the type of names and expressions
(C) Making up tokens from characters
(D) None of these



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

Question: 113

(A) long
(B) long int
(C) longs long
(D) long long



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

Question: 114

(A) final
(B) static
(C) stop
(D) friend



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

Question: 115

(A) True
(B) False



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

Question: 116

(A) t.foo template<U>(u);
(B) t.foo<typename U>(u);
(C) t.template foo<U>(u);
(D) typename t.foo<U>(u);



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

Question: 117

(A) do
(B) sizeof()
(C) goto
(D) sqrt()



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

Question: 118

(A) pragma
(B) override
(C) wchar_t
(D) mutable



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

Question: 119

(A) It makes variable constant
(B) There is no such keyword in C++
(C) It allows a class data member to be modified even though it is the data member of a const object
(D) None of these



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

Question: 120

(A) It saves the memory
(B) It runs code faster by allocating varibales in CPU register
(C) It takes extra bytes of memory
(D) Register variable are used with high configuration machines



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