C++ Language Objective Questions and Answers 2019-2020 - 1

Question: 1

A function having more than one distinct meaning is called ___ function.

(A) Parameter

(B) Prototype

(C) Overloaded

(D) Polymorphism

Ans: C

Overloaded

Question: 2

The Prototype of the overloaded member function is ___

(A) Void operator – (negative)

(B) Void operator – ()

(C) Void operator minus

(D) Negative operator – ()

Ans: B

Void operator – ()

Question: 3

Operator overloading ____

(A) Changes original definition

(B) Overrules original definition

(C) Does not overrule the original definition of the operator

(D) None of the given

Ans: C

Does not overrule the original definition of the operator

Question: 4

The ___ function definitions are permitted for used defined data type.

(A) Basic

(B) Overloaded

(C) Sizeof

(D) Friend

Ans; B

Overloaded

Question: 5

During integral promotion, a double data type can be converted to ____

(A) Float

(B) Integer

(C) Float or integer

(D) Neither float, nor integer

Ans: C

Float or integer

Related Questions