adplus-dvertising
frame-decoration

Question

Correct syntax for while statement is:
a) while
    {
 
 
 
     }(condition);
 b) while(condition)
    {
 
 
     };
 c) while(condition)
    {
 
 
     }
 d) while(condition);
    {
 
 
     }

a.

a

b.

b

c.

c

d.

d

Answer: (c).c

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Correct syntax for while statement is: