Overall Stats
Answers
Pranjal Tulsiyan is saying A default argument cannot be redefined in later declaration. is correct answer
Blank OP from Bacolod City, Philippines is saying A function can have all its arguments as default. is correct answer
swathi from Chennai, India is saying A default argument cannot be redefined in later declaration. is correct answer
Rohan Bhosale from Pune, India is saying A function can have all its arguments as default. is correct answer
zemenfes hailemariam from Ethiopia is saying Default argument cannot be provided for pointers to functions. is correct answer
Related Questions
Which of the following statement is correct?
- [A] Overloaded functions can have at most one default argument.
- [B] An overloaded function cannot have default argument.
- [C] All arguments of an overloaded function can be default.
- [D] A function if overloaded more than once cannot have default argument.
Dividing a program into functions
- [A] is the key to object oriented programming
- [B] makes the program easier to conceptualize
- [C] makes the program run faster
- [D] both (B) and (C)
Which of the following statement is correct?
- [A] Constructors can have default parameters.
- [B] Constructors cannot have default parameters.
- [C] Constructors cannot have more than one default parameter.
- [D] Constructors can have at most five default parameters.
A friend function
- [A] is declared as a friend & defined elsewhere in the program
- [B] is always an inline function
- [C] created objects without initialization
- [D] May be a static member function of the class
Which of the following statement is correct?
- [A] C++ enables to define functions that take constants as an argument.
- [B] We cannot change the argument of the function that that are declared as constant.
- [C] Both A and B.
- [D] We cannot use the constant while defining the function.