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 / gandhi priyank
goto statment is also right because goto statement is not a
loop
e.g.
void main()
{
j:
printf("type your text here");
goto j;
}
| Is This Answer Correct ? | 10 Yes | 42 No |
Post New Answer View All Answers
What is a node in c?
In C language what is a 'dangling pointer'?
What is the use of void pointer and null pointer in c language?
Where static variables are stored in c?
FILE PROGRAMMING
Which driver is a pure java driver
using for loop sum 2 number of any 4 digit number in c language
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
what is a constant pointer in C
What are the uses of a pointer?
What are c preprocessors?
Why do we write return 0 in c?
Explain what are the __date__ and __time__ preprocessor commands?
what do you mean by enumeration constant?
What is a lvalue