Write a short code using c++ to print out all odd number from 1 to 100 using a for loop


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

Post New Answer

More C++ General Interview Questions

How can I improve my c++ skills?

0 Answers  


What is size of string in c++?

0 Answers  


What is difference between rand () and srand ()?

0 Answers  


What are stacks? Give an example where they are useful.

0 Answers  


Explain explicit container.

0 Answers  






Explain the concept of dynamic allocation of memory?

0 Answers  


What is a syntax in c++?

0 Answers  


write a program in c++ to implement stack using functions in header file stack.h

3 Answers   Google, Subex,


Explain the problem with overriding functions

0 Answers  


Explain the difference between class and struct in c++?

0 Answers  


What does new do in c++?

0 Answers  


Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }

2 Answers   CDAC, Wipro,


Categories