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 are local static variables?
Difference between Function to pointer and pointer to function
Explain the concept and use of type void.
Why do we use int main instead of void main in c?
What is assignment operator?
Can we use any name in place of argv and argc as command line arguments?
How to get string length of given string in c?
When should volatile modifier be used?
What is the purpose of clrscr () printf () and getch ()?
Dont ansi function prototypes render lint obsolete?
What is a header file?
What is string concatenation in c?
Explain is it better to bitshift a value than to multiply by 2?
shorting algorithmS
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above