Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / gunabalan
void main()
{
int i=1;
e:
printf("%d\t",i);
i++;
if(i<=100)
goto e;
}
| Is This Answer Correct ? | 36 Yes | 12 No |
Post New Answer View All Answers
Can variables be declared anywhere in c?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What are register variables in c?
What are the benefits of c language?
What are header files why are they important?
Explain the difference between call by value and call by reference in c language?
What extern c means?
How can I handle floating-point exceptions gracefully?
What is variables in c?
Describe how arrays can be passed to a user defined function
What are file streams?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
ATM machine and railway reservation class/object diagram
Can a variable be both static and volatile in c?
Explain the meaning of keyword 'extern' in a function declaration.