Which of the following is consider as infinite loop
while True:
While(1)
Both of the above
None of these
Share
Which of the following is consider as infinite loop
while True:
While(1)
Both of the above
None of these
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Both of the above
Explanation:
Verified answer
a) while True.
b) While(1)
c) both of the above
d) None of these
Option( c) both of the above. While True and While(1) are infinite loops.