Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / neha
int i;
void main(void)
{
if(i<=100)
printf("%d\n", i);
i++;
main();
getch();
}
| Is This Answer Correct ? | 29 Yes | 26 No |
Post New Answer View All Answers
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Where static variables are stored in c?
What is file in c preprocessor?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What is stack in c?
What is static volatile in c?
Write a program to generate the Fibinocci Series
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What language is c written?
write a program for the normal snake games find in most of the mobiles.
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Why is %d used in c?
Describe static function with its usage?
What is the c value paradox and how is it explained?
What is #include stdio h?