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 is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Explain do array subscripts always start with zero?
What are predefined functions in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What the different types of arrays in c?
Are there namespaces in c?
Explain what are run-time errors?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is New modifiers?
all c language question
What are loops in c?
What is const volatile variable in c?
When should the volatile modifier be used?
Explain why c is faster than c++?
What is a struct c#?