How long does this loop run:

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

Answer Posted / eric

The loop will run forever.
K.premalatha is the foolest lady I have ever met.

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of setprecision in c++?

543


What is a type library?

686


Why do we use the using declaration?

662


What are the steps in the development cycle?

615


What is the use of c++ programming language in real life?

567






Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2036


Does c++ support exception handling?

594


What is function overloading in C++?

725


Is sorted c++?

575


What is a binary file? List the merits and demerits of the binary file usagein C++.

730


Explain the difference between c++ and java.

641


Explain the difference between using macro and inline functions?

576


How to implement is-a and has-a class relationships?

587


What are the classes in c++?

636


What is abstraction with real time example?

621