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
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is formal argument?
Explain pointer. What are function pointers in C?
What is the difference between constant pointer and constant variable?
What is scanf () in c?
what are enumerations in C
What 'lex' does?
What happens if a header file is included twice?
Tell me what is null pointer in c?
Write a program to swap two numbers without using the third variable?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Is python a c language?
What are the loops in c?
What is difference between array and structure in c?
Can you tell me how to check whether a linked list is circular?