How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / sur
never..
because initially condition is true,
and x is false, so it will comes out of loop.
| Is This Answer Correct ? | 10 Yes | 23 No |
Post New Answer View All Answers
How would you call C functions from C++ and vice versa?
Is c++ used anymore?
What is meant by iomanip in c++?
which of the following is not an secondary constant a) array b) real c) union
What is iomanip c++?
What are the different types of comments allowed in c++?
Write about the retrieval of n number of objects during the process of delete[]p?
What are the differences between malloc() and calloc()?
Which is the best c++ compiler?
What is the benefit of c++?
What do you mean by translation unit?
What is endl c++?
Explain the difference between struct and class in terms of access modifier.
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
Why isn't sizeof for a struct equal to the sum of sizeof of each member?