What are overloaded functions?
Very long functions that can hardly run
One function containing another one or more functions inside it.
Two or more functions with the same name but different number of parameters or type.
Function with more than one form
Which of the following concept of OOPS refers to the term operator overloading?
Inheritance
Message passing
Encapsulation
Polymorphism
Which of the following statement is correct about function overloading?
Do not use the same function name for two unrelated function
Overloading principle applies not only to functions, but to operators too
It makes code much more readable
Perform different operations on the same operands.
Which of the following statement is correct?
Two functions having same number of argument, order and type of argument can be overloaded if both functions do not have any default argument.
Overloaded function must have default arguments.
Overloaded function must have default arguments starting from the left of argument list.
A function can be overloaded more than once.
Which of the following operator cannot be overloaded?
Scope resolution operator
Arrow operator
Assignment operator
Equality operator
Which of the following contains two functions with same names, parameters and return type?
Function overloading
Function overriding
Operator overloading
Method overloading
Which among the following is an advantage of polymorphism?
Reusability of classes
Supports building extensible systems
It can hide instance variables and irrelevant methods of a class from other objects
Easy to maintain the code
Which function is used to concatenate strings?
Main()
str()
strcat()
strcpy()
Which OOP concept has an object with many forms?
Scalability
What does the term overloading means?
A name having one distinct meaning
A name having two distinct meanings
A name having 2 or more distinct meanings
A name having no distinct meanings