search
Q: Which of the following keyword is used to transfer control from a function back to the calling function?/निम्नलिखित में से किस कीवर्ड का उपयोग किसी फंक्शन से कॉलिंग फंक्शन पर ट्रॉन्सफर कंट्रोल करने के लिए किया जाता है?
  • A. Return /रिटर्न
  • B. Go to/गोटू
  • C. Go back /गो बैक
  • D. Switch/स्विच
Correct Answer: Option A - Return Keyword का उपयोग किसी function से calling function पर transfer control करने के लिए किया जाता है। function call के execution को समाप्त करने के लिए एक return statement का उपयोग किया जाता है और caller को result (Return keyword) के बाद expression को प्रदर्शित) देता है। Return statement के बाद statement को execute नहीं किया जाता है।
A. Return Keyword का उपयोग किसी function से calling function पर transfer control करने के लिए किया जाता है। function call के execution को समाप्त करने के लिए एक return statement का उपयोग किया जाता है और caller को result (Return keyword) के बाद expression को प्रदर्शित) देता है। Return statement के बाद statement को execute नहीं किया जाता है।

Explanations:

Return Keyword का उपयोग किसी function से calling function पर transfer control करने के लिए किया जाता है। function call के execution को समाप्त करने के लिए एक return statement का उपयोग किया जाता है और caller को result (Return keyword) के बाद expression को प्रदर्शित) देता है। Return statement के बाद statement को execute नहीं किया जाता है।