How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / gaurav
forever because this loop is infinite condition.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Difference between declaration and definition of a variable.
How are Structure passing and returning implemented by the compiler?
What are the three forms of cin.get() and what are their differences?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What are punctuators in c++?
Explain container class.
What is a v-table?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
Why can templates only be implemented in the header file?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
What are the benefits of c++?
What is java and c++?
What is code reusability in c++?
What are static variables?
What is the basic of c++?