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
What are the different types of linkage exist in c?
What is void main () in c?
What are the 4 data types?
What are lookup tables in c?
What is the right type to use for boolean values in c?
Create a simple code fragment that will swap the values of two variables num1 and num2.
How to throw some light on the b tree?
What does d mean?
What is a file descriptor in c?
How do you determine the length of a string value that was stored in a variable?
What do you mean by scope of a variable in c?
Sir i need notes for structure,functions,pointers in c language can you help me please
What does the function toupper() do?
What is a keyword?
What is the function of this pointer?