Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / sutanu
void main ()
{
static int i;
if (i <= 100)
{
printf ("%d\n", i);
i++;
main ();
}
}
Is This Answer Correct ? | 53 Yes | 15 No |
Post New Answer View All Answers
What are the benefits of c language?
How can I list all of the predefined identifiers?
What is c programming structure?
How is a pointer variable declared?
What is signed and unsigned?
What does s c mean in text?
What are shell structures used for?
What is line in c preprocessor?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Explain what is the benefit of using #define to declare a constant?
What are the different types of errors?
please send me the code for multiplying sparse matrix using c
Which header file should you include if you are to develop a function which can accept variable number of arguments?
How can you determine the maximum value that a numeric variable can hold?
What is the difference between far and near in c?