Computer Science Engineering Test Preparations On C++ Programming Part 2
Buy Now
Test Preparation on Computer Science Engineering Test Preparations On C++ Programming Part 2
1.
Which of the following can be overloaded?
1
Object
2
Functions
3
Operators
4
Both B and C
2.
Which of the following means The use of an object of one class in definition of another class"?"
1
Encapsulation
2
Composition
3
Inheritance
4
Abstraction
3.
Which of the following statement is correct?
1
C++ enables to define functions that take constants as an argument.
2
We cannot change the argument of the function that that are declared as constant.
3
Both A and B.
4
We cannot use the constant while defining the function.
4.
Which of the following statement is correct?
1
Overloaded functions can have at most one default argument.
2
An overloaded function cannot have default argument.
3
All arguments of an overloaded function can be default.
4
A function if overloaded more than once cannot have default argument.
Check your progress:
Right Ans
Wrong Ans
Not Attempted
Prev Question
Next Question
Show Answer