what is the difference between while and do while?
Answers were Sorted based on User's Feedback
Answer / jithender palle
In while case first execute the condition then ++/--,
In do while first ++/-- then condition execute
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
program to get the remainder and quotant of given two numbers with out using % and / operators?
10 Answers College School Exams Tests, IBM,
Why do we use return in c?
Write a program to accept a character & display its corrosponding ASCII value & vice versa?
1. main() { printf("%d",printf("HelloSoft")); } Output?
what is c?
What is structure data type in c?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.
What is %lu in c?
What is maximum size of array in c?
find largest of 3 no
What does it mean when the linker says that _end is undefined?