Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / neha
int i;
void main(void)
{
if(i<=100)
printf("%d\n", i);
i++;
main();
getch();
}
Is This Answer Correct ? | 29 Yes | 26 No |
Post New Answer View All Answers
Was 2000 a leap year?
What is self-referential structure in c programming?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What is the modulus operator?
What are the salient features of c languages?
Differentiate between full, complete & perfect binary trees.
Can we declare a function inside a function in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is logical error?
Hai what is the different types of versions and their differences
Why is not a pointer null after calling free?
Disadvantages of C language.
Can a variable be both constant and volatile?
What are the types of pointers?
Is c language still used?