How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / g m rajput
int main()
{
int f=1;
for(:f:)
cout<<"f="<<f++<<"
;
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an undefined behavior and sequence points
What are the effects after calling the delete this operator ?
Can circle be called an ellipse?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Write about all the implicit member functions of a class?
What are stacks? Give an example where they are useful.
What is object oriented programming (oop)?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
Write about the use of the virtual destructor?
How new/delete differs from malloc()/free?
Why is the function main() special?
What is c++ try block?
Please explain the reference variable in c++?
What is the meaning of c++?
What is the full form of ios?