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
How can I remove the trailing spaces from a string?
Why is sprintf unsafe?
How can you tell whether a program was compiled using c versus c++?
What does int main () mean?
write a program to create a sparse matrix using dynamic memory allocation.
what is the function of pragma directive in c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is typeof in c?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Which are low level languages?
Explain a file operation in C with an example.
Explain main function in c?
How can I call a function with an argument list built up at run time?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is the value of h?