program in c to print 1 to 100 without using loop
Answer Posted / nishikant kamble
#include<stdio.h>
int main()
{
int i=1;
suhas:
printf("%d\t",i);
i++;
if(i==101)
{
exit(1);
}
goto suhas;
}
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why c is called object oriented language?
What does a function declared as pascal do differently?
What are the differences between new and malloc in C?
how can f be used for both float and double arguments in printf? Are not they different types?
praagnovation
Why we use void main in c?
What is echo in c programming?
Not all reserved words are written in lowercase. TRUE or FALSE?
How can you check to see whether a symbol is defined?
How can I prevent another program from modifying part of a file that I am modifying?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is array of structure in c?
What is break statement?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?