why is iostream::eof inside a loop condition considered wrong?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Should a constructor be public or private?

0 Answers  


What is a driver program?

0 Answers  


What is a smart pointer?

1 Answers  


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

0 Answers  


Differentiate between late binding and early binding.

0 Answers  






Which of the following is evaluated first: a) && b) || c) !

0 Answers  


What are the two main components of c++?

0 Answers  


what is data encapsulation in C++?

0 Answers  


If a header file is included twice by mistake in the program, will it give any error?

0 Answers  


When we use Abstract Class and when we use Interface?where we will implement in real time?

0 Answers  


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

0 Answers  


Please explain the reference variable in c++?

0 Answers  


Categories