How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / p.lakshmi narasimha
never
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you use the function fprintf() to display the output on the screen?
What is meant by entry controlled loop?
Why do we use double in c++?
Do we have to use initialization list in spite of the assignment in constructors?
What is the history of c++?
Write my own zero-argument manipulator that should work same as hex?
Should you pass exceptions by value or by reference?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is the arrow operator in c++?
Explain the isa and hasa class relationships.
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is algorithm in c++ programming?
Can we distribute function templates and class templates in object libraries?
What do you mean by funtion prototype?
How compile and run c++ program in turbo c++?