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 / solairaja
void main()
{
int i;
V:
printf("%d",i++);
goto V;
}
| Is This Answer Correct ? | 3 Yes | 17 No |
Post New Answer View All Answers
Explain the red-black trees?
What are the 4 types of organizational structures?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What are the application of c?
What is a const pointer in c?
What does *p++ do? What does it point to?
What is the purpose of main( ) in c language?
What are dangling pointers in c?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
Explain what is the difference between null and nul?
What is volatile variable in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is pointer to pointer in c language?
simple program of graphics and their output display
How do you redirect a standard stream?