Write a C++ program without using any loop (if, for, while
etc) to print numbers from 1 to 100 and 100 to 1;
Answer Posted / manish verma
I guess, if it is not asking for any kind of loop (for /
while) then one can use recursive functions to achieve this.
| Is This Answer Correct ? | 63 Yes | 9 No |
Post New Answer View All Answers
How is a null pointer different from a dangling pointer?
What is meant by high-order and low-order bytes?
If fflush wont work, what can I use to flush input?
Do you know the use of 'auto' keyword?
Differentiate between new and malloc(), delete and free() ?
Differentiate between declaring a variable and defining a variable?
What is a good data structure to use for storing lines of text?
What is optimization in c?
What are keywords c?
Which header file is essential for using strcmp function?
What is volatile, register definition in C
What is call by reference in functions?
can we change the default calling convention in c if yes than how.........?
What is the use of in c?
Dont ansi function prototypes render lint obsolete?