What is the diffrent between while and do while statement ?

Answer Posted / vaibhav

the while statement first check the condition & then
exicute a statement & do while first exicute a stat. & then
check condi. . do while loop can exicute one time even
condi. is false

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between static and global variable in c?

525


Is there anything like an ifdef for typedefs?

692


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1556


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

634


What is a list in c?

608






What is non linear data structure in c?

559


What is use of integral promotions in c?

651


What is union and structure?

561


What does malloc () calloc () realloc () free () do?

546


how to build a exercise findig min number of e heap with list imlemented?

1599


What is the difference between pure virtual function and virtual function?

639


How will you declare an array of three function pointers where each function receives two ints and returns a float?

766


Which are low level languages?

617


What is page thrashing?

641


State the difference between realloc and free.

617