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
Is c call by value?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
in iso what are the common technological language?
What is difference between && and & in c?
What are the types of operators in c?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
What is sorting in c plus plus?
What is the use of typedef in c?
What do header files do?
Can a pointer be static?
What are logical errors and how does it differ from syntax errors?
what is the difference between class and unio?
Explain what is the most efficient way to store flag values?
What is define directive?