adplus-dvertising
frame-decoration

Question

The main difference in operation between an 'if statement and a 'while' statement is

a.

the 'while' loop body is executed

b.

the body of the 'while' statement may be executed many times, the body of the 'if statements only once

c.

the conditional expression following the keyboard is evaluated differently

d.

All of the above

Answer: (b).the body of the 'while' statement may be executed many times, the body of the 'if statements only once

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The main difference in operation between an 'if statement and a 'while' statement is

Similar Questions

Discover Related MCQs

Q. The 'continue' statement is used to

Q. The 'break' statement is used to exist from

Q. Which of the following pairs of identifier name(s) are(is) considered to be identical?

Q. The int type of constants are whole numbers in the range

Q. The general form of do-while statement is

Q. The measure of how well the operations in a function relate to one another is _____

Q. An unsigned double type of data

Q. The extraction operator >> is a(n) _____

Q. Modules in C++ programs are

Q. The return type for all destructors is

Q. The comma operator (,) is used to

Q. Which of the following statements creates a named constant called driverAge whose value is 16?

Q. In object-oriented terms, an exception may be considered a(n) _____

Q. A(n) _____ is a numeric variable used for counting something

Q. The logical NOT operator represented by is a

Q. When variables refer to attributes of an entity (such as name, address, and phone number of a person), those attributes form a _____

Q. The delete operator returns ______ to the operating system

Q. The major advantage of data hiding is that _____

Q. The letter V is a _____

Q. Separating parts of a program into units that remain unaffected by other parts of a program is the concept known as _____