NIELIT O Level Exam

How to make the loop function run only once but the code inside run infinitely?

How to make the loop function run only once but the code inside run infinitely?

लूप फंक्शन को केवल एक बार कैसे चलाया जाए जब अंदर का कोड असीम रूप से चलता है?

A. Create a recursive function call statement. एक रिकर्सिव फंक्शन कॉल स्टेटमेंट बनाकर।

B. Create a nested infinite loop within the loop() function. लूप () फंक्शन के भीतर एक नेस्टेड अनंत लूप बनाकर ।

C. Call the setup() function from the loop( function. लूप () फंक्शन से सेटअप () फंक्शन को कॉल करके ।

D. Call the loop() function from the setup () function. सेटअप () फंक्शन से लूप () फंक्शन को कॉल करकें ।




Correct Answer is :

B. Create a nested infinite loop within the loop() function.



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad