Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / vijaya raghavan
#include<stdio.h>
int i=100;
main()
{
if (i==0) return 0;
printf("%d\t",i);
i--;
main();
}
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
How can I pad a string to a known length?
What is #ifdef ? What is its application?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
What is calloc()?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Explain what is the heap?
What is the difference between #include and #include 'file' ?
Why we use break in c?
What is New modifiers?
What are the 4 types of functions?
What is a pointer and how it is initialized?
Why is c faster?
What is void main () in c?
What are the types of functions in c?
What is %lu in c?