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 a program be made to print the name of a source file where an error occurs?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What are the primitive data types in c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is extern c used for?
What is the best way to store flag values in a program?
Why dont c comments nest?
Write a program to print factorial of given number without using recursion?
Multiply an Integer Number by 2 Without Using Multiplication Operator
find out largest elemant of diagonalmatrix
Explain is it valid to address one element beyond the end of an array?
How do you construct an increment statement or decrement statement in C?
What is pointer and structure in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above