program in c to print 1 to 100 without using loop
Answer Posted / praveen
#include<stdio.h>
#include<stdlib.h>
void prav(int);
main()
{
int i=1;
prav(i);
}
void prav(int j)
{
if(j<101)
{printf("%d\n",j);
j++;
prav(j);}
else
exit(0);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is c easier than java?
What is table lookup in c?
When is the “void” keyword used in a function?
When should we use pointers in a c program?
Is null always equal to 0(zero)?
Implement bit Array in C.
Explain why C language is procedural?
what are the facialities provided by you after the selection of the student.
Why static variable is used in c?
How can you increase the size of a dynamically allocated array?
Where are local variables stored in c?
What oops means?
where are auto variables stored? What are the characteristics of an auto variable?
Do you know the use of fflush() function?
how to capitalise first letter of each word in a given string?