Write a C++ program without using any loop (if, for, while
etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not
use 200 print statements!!!)


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

Post New Answer

More OOPS Interview Questions

Should you protect the global data in threads? Why or why not?

2 Answers   IBM,


any one please tell me the purpose of operator overloading

0 Answers   Amazon,


What is the difference between class and object?

4 Answers   Apple, Heinz,


diff between Virtual mathod and abstract method?

1 Answers  


Why polymorphism is used in oops?

0 Answers  


class type to basic type conversion

0 Answers  


What are oops functions?

0 Answers  


What is virtual function?where and when is it used?

2 Answers   Sitel,


How to create a comment page in C #??

2 Answers  


What is polymorphism and its types?

0 Answers  


what is the new version of c++

1 Answers   Ignou, Pramata, Satyam,


What is the real life example of polymorphism?

0 Answers  


Categories