Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / maxerp
In general, by using recursion, since it is the only
alternative to looping constructs
| Is This Answer Correct ? | 11 Yes | 12 No |
Post New Answer View All Answers
int i=10; printf("%d %d %d", i, i=20, i);
What is bubble sort technique in c?
What is pivot in c?
What are the advantages of c preprocessor?
Differentiate between calloc and malloc.
What is a lvalue
how could explain about job profile
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What is an array? What the different types of arrays in c?
Write a code of a general series where the next element is the sum of last k terms.
Do you know what are the properties of union in c?
What is extern keyword in c?
What is meant by 'bit masking'?
What are the ways to a null pointer can use in c programming language?
What are static variables in c?