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
What is a method in c?
Is file a keyword in c?
What is an operator?
What do you mean by invalid pointer arithmetic?
What is a newline escape sequence?
How can you find the exact size of a data type in c?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
What is a union?
Explain how do you print an address?
Linked lists -- can you tell me how to check whether a linked list is circular?
What is character constants?
How to compare array with pointer in c?
Explain what is the benefit of using #define to declare a constant?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What does %p mean?