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
Is anything faster than c?
Explain modulus operator.
How can I open a file so that other programs can update it at the same time?
How is = symbol different from == symbol in c programming?
Why shouldn’t I start variable names with underscores?
How can you determine the maximum value that a numeric variable can hold?
What is the use of parallelize in spark?
Tell me with an example the self-referential structure?
Are the expressions * ptr ++ and ++ * ptr same?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is c language in simple words?
What is the purpose of main() function?
what type of questions arrive in interview over c programming?
List some applications of c programming language?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }