MCQ Answer

In the absence of a exit condition in a recursive function, the following error is given

In the absence of a exit condition in a recursive function, the following error is given

एक पुनरावर्ती फ़ंक्शन में निकास स्थिति की अनुपस्थिति में, निम्नलिखित त्रुटि दी गई है
Topic : Functions

A. Compile time error

B. Run time error

C. Logical error

D. No error




Correct Answer is :

B. Run time error



Explanation
When a recursive function is called in the absence of an exit condition, it results in an infinite loop due to which the stack keeps getting filled(stack overflow). This results in a run time error.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 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