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
Mention four important string handling functions in c languages .
All technical questions
Describe wild pointers in c?
How do you declare a variable that will hold string values?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
Did c have any year 2000 problems?
What is the purpose of main() function?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is operator promotion?
What is a memory leak? How to avoid it?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
How to throw some light on the b tree?
What is a lookup table in c?
What are the loops in c?
What is c language used for?