Choose a topic to test your knowledge and improve your C/C skills
In which of the following way(s) can the object be returned from a function?
Whenever an object is returned by value ____________________
Where the temporary objects (created while return by value) are created?
Which is the correct syntax for returning an object by value?
Which is the correct syntax for defining a function which passes an object by reference?
If an object is declared inside the function then ____________________ outside the function.
How many independent objects can be returned at same time from a function?
Which error will be produced if a local object is returned by reference outside a function?
If object is passed by reference ____________________
Which among the following is correct?
Can we return an array of objects?
Which among the following is true?
If an object is being returned by value then __________________________
Why temporary object is not created in return by reference?