मराठी

Which of the following makes a function non-returnable? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following makes a function non-returnable? 

पर्याय

  • Public

  • Static

  • Void

  • New

MCQ

उत्तर

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.02: Elementary Concept of Objects and Classes - EXERCISES [पृष्ठ १६]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.02 Elementary Concept of Objects and Classes
EXERCISES | Q I. 4. | पृष्ठ १६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×