program in c to print 1 to 100 without using loop
Answer Posted / madhavi
main()
{
int i=1;
LOOP:
printf("%d\t",i);
i++;
if(i<=100)
goto LOOP;
}
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Which is better pointer or array?
What is atoi and atof in c?
What is the advantage of using #define to declare a constant?
What is floating point constants?
What is the purpose of ftell?
Who developed c language and when?
What is a void * in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Does * p ++ increment p or what it points to?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Is linux written in c?
p*=(++q)++*--p when p=q=1 while(q<=6)
Tell me the use of bit field in c language?
writ a program to compare using strcmp VIVA and viva with its output.
Is c is a low level language?