What is the diffrent between while and do while statement ?
Answer Posted / namrata
In while first condition is checked if condition is not true
then while don't work and not give output but in do while
loop condition is checked when loop is worked at one time
and if the condition is not true then at least one time it
gives output it is the main difference between while & do
while loop.
| Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
how do you programme Carrier Sense Multiple Access
Write a program for finding factorial of a number.
What is variable declaration and definition in c?
What are identifiers and keywords in c?
What is difference between array and pointer in c?
What is c definition?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
how can use subset in c program and give more example
Is exit(status) truly equivalent to returning the same status from main?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What does != Mean in c?
Difference between strcpy() and memcpy() function?
What is a spanning Tree?
what do you mean by inline function in C?