C++ Programming Questions Answers - Set 2
-
50. && means ?
- Logical OR
- Bitwise OR
- Logical AND
- Bitwise AND
Answer And Explanation
Answer: Option C
Explanation:
-
51. Explicit call to a constructor means ?
- Not providing the construction name at all
- Is the shorthand method
- Providing the constructor name explicitly to invoke it
- Providing the constructor name implicitly to invoke it
Answer And Explanation
Answer: Option C
Explanation:
-
52. 78. If new operator is used, then the constructor function is ?
- Copy constructor
- Default constructor
- Static constructor
- Dynamic constructor
Answer And Explanation
Answer: Option D
Explanation:
-
53. The antonym of constructor is ?
- Creator
- Distinct
- Destroyer
- Destructor
Answer And Explanation
Answer: Option D
Explanation:
-
54. A Variable __ of void type.
- May be declared
- Can be initialized
- Cannot be intialized
- Cannot be declared
Answer And Explanation
Answer: Option D
Explanation:
-
55. When one class inherits from the base class, then the original class is called ?
- derived class
- base class
- sub class
- basic class
Answer And Explanation
Answer: Option B
Explanation:
-
56. Operator overloading is ?
- giving new meaning to existing c++ operators
- making c++ operators work with objects
- giving c++ operators more than they can handle
- making new c++ operators
Answer And Explanation
Answer: Option A
Explanation: