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
Define circular linked list.
What is meant by type casting?
How can a process change an environment variable in its caller?
What are the advantages and disadvantages of pointers?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Explain what is a program flowchart and explain how does it help in writing a program?
What is c variable?
How can I sort a linked list?
Explain About fork()?
What is use of bit field?
Explain threaded binary trees?
What language is c written?
What is volatile variable how do you declare it?
Tell me about low level programming languages.
What does calloc stand for?