Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 3 (Q.No. 3)
3.
The two statements that can be used to change the flow of control are
if and switch
if and while
switch and do-while
break and continue
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
9 comments Page 1 of 1.

Stuti said:   1 decade ago
Why not C. Break and continue ?

Rakhi said:   1 decade ago
Yes. I too have same doubt. Which is correct?

Sharon said:   9 years ago
Because switch is the function that is used to control the "flow of control".

Sharon said:   9 years ago
Because if and switch statements are the two statements that are used to control of change the flow of control.

Ali said:   9 years ago
There is a statement not function so break and continue is right.

Renuka said:   8 years ago
Break and continue flow control statement that's why I think D option is correct.

Wazir sikandar said:   8 years ago
Switch and break statement controls data flow.

So A answer is wrong.

Shaheen K M said:   8 years ago
The correct answer is Option D.

Sumaiya said:   7 years ago
D is right! Because break and continue help to controles flow of data not if & swich.

Post your comments here:

Your comments will be displayed after verification.