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
c language interview questions & answer
find out largest elemant of diagonalmatrix
How can I manipulate individual bits?
What is an auto variable in c?
What is your stream meaning?
p*=(++q)++*--p when p=q=1 while(q<=6)
What is p in text message?
How can I find out how much free space is available on disk?
what are the different storage classes in c?
Explain what is the difference between a string and an array?
write a c program for swapping two strings using pointer
Why static variable is used in c?
What is huge pointer in c?
Explain output of printf("Hello World"-'A'+'B'); ?
What is exit() function?