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
How can I manipulate individual bits?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What are global variables and how do you declare them?
Difference between MAC vs. IP Addressing
What are the advantages of Macro over function?
What is actual argument?
write a c program in such a way that if we enter the today date the output should be next day's date.
Write a C program in Fibonacci series.
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
How do we open a binary file in Read/Write mode in C?
What is a method in c?
Explain the difference between malloc() and calloc() in c?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Why is c still so popular?
Write a program of prime number using recursion.