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 / kt vikram
We are using 'goto' statement to print the numbers without using
if,for,while etc.
| Is This Answer Correct ? | 38 Yes | 23 No |
Post New Answer View All Answers
What is the use of a static variable in c?
Explain pointer. What are function pointers in C?
What are the different types of pointers used in c language?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
Where static variables are stored in memory in c?
How will you find a duplicate number in a array without negating the nos ?
How can I make sure that my program is the only one accessing a file?
What is define c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
Explain what is the difference between a string and an array?
What is the use of in c?
What is c language in simple words?
How can I open files mentioned on the command line, and parse option flags?
What is the process to create increment and decrement stamen in c?