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
What are all different types of pointers in c?
What are the various types of control structures in programming?
How many keywords (reserve words) are in c?
What is pointer to pointer in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What does void main return?
Does c have enums?
Differentiate between the = symbol and == symbol?
What is the difference between a function and a method in c?
What header files do I need in order to define the standard library functions I use?
What are global variables and how do you declare them?
How can I do peek and poke in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Tell me when would you use a pointer to a function?
What is the difference between functions getch() and getche()?