Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / vivek
void main()
{
int i=1;
if(i<=100)
printf("%d",i);
continue;
getch();
}
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the heap in c?
Where register variables are stored in c?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What are the __date__ and __time__ preprocessor commands?
What are bitwise shift operators in c programming?
What is operator promotion?
Is boolean a datatype in c?
What is .obj file in c?
Explain what is the most efficient way to store flag values?
Explain about C function prototype?
Write the syntax and purpose of a switch statement in C.
Why do we write return 0 in c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is difference between scanf and gets?
Are pointers integers in c?