Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / maxerp
In general, by using recursion, since it is the only
alternative to looping constructs
| Is This Answer Correct ? | 11 Yes | 12 No |
Post New Answer View All Answers
Why does this code crash?
How can you avoid including a header more than once?
How can a number be converted to a string?
Explain what’s a signal? Explain what do I use signals for?
What are pointers? Why are they used?
Explain what are global variables and explain how do you declare them?
Array is an lvalue or not?
What is difference between && and & in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What is local and global variable in c?
What is meant by operator precedence?
How important is structure in life?
How do I create a directory? How do I remove a directory (and its contents)?
Is there any demerits of using pointer?