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
writ a program to compare using strcmp VIVA and viva with its output.
What does char * * argv mean in c?
How to implement a packet in C
Is null equal to 0 in sql?
How can I read data from data files with particular formats?
What are the different types of data structures in c?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
Explain how can I read and write comma-delimited text?
Process by which one bit pattern in to another by bit wise operation is?
Give the rules for variable declaration?
What's the total generic pointer type?
why programs in c are running with out #include
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Differentiate between the expression “++a” and “a++”?
What are the different types of constants?