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

What is the operator in c++?

0 Answers  


What does flush do?

0 Answers  


What is the use of pointer in c++ with example?

0 Answers  


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


What is difference between initialization and assignment?

12 Answers   HCL, HP, Infosys,






Differentiate between a pointer and a reference with respect to c++.

0 Answers  


explain the reference variable in c++?

0 Answers  


We use library functions in the program, in what form they are provided to the program?

0 Answers  


What is main function in c++ with example?

0 Answers  


Why do we use structure in c++?

0 Answers  


Write about the stack unwinding?

0 Answers  


Explain the auto storage classes in c++.

0 Answers  


Categories