Advertisements
Advertisements
Question
Which of the following makes a function non-returnable?
Options
Public
Static
Void
New
MCQ
Solution
Void
Explanation:
To indicate that a function returns nothing, use the void keyword. In programming languages such as Java or C++, a function declared as non-returnable executes operations but returns void.
shaalaa.com
Is there an error in this question or solution?