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
Is this program statement valid? INT = 10.50;
what are bit fields? What is the use of bit fields in a structure declaration?
How can I list all of the predefined identifiers?
What is difference between function overloading and operator overloading?
Hai what is the different types of versions and their differences
Can two or more operators such as and be combined in a single line of program code?
find the sum of two matrices and WAP for it.
What is use of integral promotions in c?
What is #line in c?
Can we increase size of array in c?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
How many bytes is a struct in c?
What are conditional operators in C?
#include
What are the 5 types of organizational structures?