Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / vivek
#include<stdio>
void main()
{
int i=1;
if(i<=100)
printf("%d",i);
i++;
continue;
getch;
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are header files in c?
How can I write a function that takes a format string and a variable number of arguments?
Explain what are linked list?
What is build process in c?
What is string constants?
What is the use of sizeof?
What is spark map function?
Why do we use static in c?
Is there a way to jump out of a function or functions?
Why & is used in scanf in c?
What is the use of structure padding in c?
Can a program have two main functions?
Explain the bubble sort algorithm.
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is a pointer on a pointer in c programming language?