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
Tell us the use of fflush() function in c language?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is a newline escape sequence?
Apart from dennis ritchie who the other person who contributed in design of c language.
Explain how does free() know explain how much memory to release?
What does dm mean sexually?
how to make a scientific calculater ?
What is page thrashing?
What are the two types of functions in c?
What is wrong with this declaration?
What is optimization in c?
Explain what is the difference between far and near ?
Why is c called c?
How to establish connection with oracle database software from c language?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25