McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2024
→
Computer Science Engineering (CSE)
→
Object Oriented Programming (OOP)
→
How many values can be returned from a f...
Q.
How many values can be returned from a function?
A.
0
B.
1
C.
2
D.
3
Answer» B. 1
1.8k
0
Do you find this helpful?
14
View all MCQs in
Object Oriented Programming (OOP)
Discussion
No comments yet
Login to comment
Related MCQs
Empty parentheses following a function name in a function prototype indicate that the function does not require any parameters to perform its task.
When a function returns a value, the entire function call can appear on the right side of the equal sign and be assigned to another variable.
When an array name is passed to a function, the function
Which of the following statements is correct for a static member function? 1. It can access only other static members of its class. It can be called using the class name, instead of objects
Variables declared in the body of a particular member function are known as data members and can be used in all member functions of the class.
A member function can always access the data
Which of the following can legitimately be passed to a function?
In C++, const qualifier can be applied to Member functions of a class Function arguments To a class data member which is declared as static Reference variables
How many objects can be created from an abstract class?
Which type is best suited to represent the logical values?