Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / olga
void printer(int num)
{
if(n==0)
return;
printer(--n);
printf("%d ",n);
}
| Is This Answer Correct ? | 11 Yes | 14 No |
Post New Answer View All Answers
please give me some tips for the placement in the TCS.
What is character set?
What is difference between %d and %i in c?
What is the value of h?
In which layer of the network datastructure format change is done
What are the different categories of functions in c?
What is dynamic memory allocation?
What are pragmas and what are they good for?
What are the features of the c language?
Is it possible to initialize a variable at the time it was declared?
What is the explanation for prototype function in c?
What is a program?
List the difference between a "copy constructor" and a "assignment operator"?
What are header files? What are their uses?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions