Home » C++ » Objective Questions
Showing Page 6 (101 - 120)
Question: 101
(A) VB.NET
(B) VB 6
(C) C++
(D) C#
Compiler
Level: Beginner Category: other
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
Compiler
Level: Beginner Category: other
Question: 103
(A) Single
(B) Byte
(C) Short
(D) Integer
Compiler
Level: Beginner Category: datatype
Question: 104
(A) class
(B) field
(C) function
(D) property
Compiler
Level: Beginner Category: classesAndobjects
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
Compiler
Level: Expert Category: function
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
Compiler
Level: Expert Category: function
Question: 107
(A) cdecl
(B) syscall
(C) pascal
(D) register
Compiler
Level: Expert Category: function
Question: 108
(A) ELF
(B) DLLs
(C) PE
(D) None of the above
Compiler
Level: Expert Category: other
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}
Compiler
Level: Expert Category: cpp11
Question: 110
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
Compiler
Level: Beginner Category: loops
Question: 112
(A) Checking the Grammar
(B) Finding the type of names and expressions
(C) Making up tokens from characters
(D) None of these
Compiler
Level: Beginner Category: cpp11
Question: 113
(A) long
(B) long int
(C) longs long
(D) long long
Compiler
Level: Beginner Category: cpp11
Question: 114
(A) final
(B) static
(C) stop
(D) friend
Compiler
Level: Beginner Category: cpp11
Question: 115
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);
Compiler
Level: Expert Category: other
Question: 117
(A) do
(B) sizeof()
(C) goto
(D) sqrt()
Compiler
Level: Practitioner Category: keyword
Question: 118
(A) pragma
(B) override
(C) wchar_t
(D) mutable
Compiler
Level: Practitioner Category: cpp11
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
Compiler
Level: Practitioner Category: keyword
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
Compiler
Level: Practitioner Category: keyword
C++ Online Test
Compile C++ code here