How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / sentrix
Forever.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
What are the different types of comments allowed in c++?
What are pointer-to-members? Explain.
Is c++ a difficult language?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is the difference between *p++ and (*p)++ ?
What is const pointer and const reference?
What are the rules about using an underscore in a c++ identifier?
What is the best c++ book for beginners?
What is the difference between a declaration and a definition?
What is protected inheritance?
What does it mean to declare a member variable as static?
what is upcasting in C++?
When does a name clash occur in c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
If a function doesn’t return a value, how do you declare the function?