How long does this loop run:

for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever

Answer Posted / divya

hai john I tried this in online compiler but it shows some errors....didnt give exact ans...Is there any other ways to conform this answer.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cin.read() and cin.getline()?

560


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

686


How do you clear a set in c++?

605


What is operators in c++?

567


Can java be faster than c++?

669






Why is swift so fast?

622


What is the use of volatile variable?

601


Explain this pointer?

582


What is the use of ::(scope resolution operator)?

650


What is the difference between an enumeration and a set of pre-processor # defines?

833


Can I learn c++ without knowing c?

591


Where and why do I have to put the "template" and "typename" keywords?

584


What is a multiset c++?

551


Comment on c++ standard exceptions?

638


What is runtime polymorphism in c++?

590