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 |
c language interview questions & answer
what is default constructor?
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,
dennis ritchie invented C language in AT&T bell laboratory what is the extension of AT&T?
write a program for 7*8 = 56 ? without using * multiply operator ? output = 56
difference between the array and linked list general difference related to memory
what is difference between strcmp & palindrome?
Explain about the functions strcat() and strcmp()?
what is diff between localstatic and globalstatis variable possible 2 use in another file...?
struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));
Explain the difference between exit() and _exit() function?
What is the use of putchar function?