Answer Posted / bhairavi
in while loop first condition is checked & then ++/-- is
done, in do while first whatever the condition given loop
execute atleast once ie.if i=0 the condition is while
(i<=0), i++ then also in do while loop i will increment
first & then it will check the condition so final value of
i will be 1
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does %c mean in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
find the sum of two matrices and WAP for it.
What are the keywords in c?
What is a pointer value and address in c?
What is function in c with example?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
How is a null pointer different from a dangling pointer?
How can I call fortran?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is the use of header?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is wrong in this statement? scanf(ā%dā,whatnumber);
What does %p mean c?
develop algorithms to add polynomials (i) in one variable