MCQ Answer

What happens if the base condition isn’t defined in recursive programs?

What happens if the base condition isn’t defined in recursive programs?

यदि रिकर्सिव फ़ंक्शन में बेस की कंडीशन को डिफाइन नहीं किया जाता है तो क्या होता है?
Topic : Functions in Python

A. Program gets into an infinite loop प्रोग्राम एक इन्फनिट लूप में जाता है

B. Program runs once प्रोग्राम एक बार चलता है

C. Program runs n number of times where n is the argument given to the function प्रोग्राम n की नंबर को चलाता है जहां n फ़ंक्शन के लिए दिया गया आर्ग्यमन्ट है

D. An exception is thrown एक एक्सेप्शन फेंक दिया जाता है




Correct Answer is :

A. Program gets into an infinite loop



Explanation
The program will run until the system gets out of memory.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz