MCQ Practice

The comma operator (,) is used to

A

permit two different expressions to appear in situations where only one expression would ordinarily be used

B

terminate loops or to exit from switch

C

alter the normal sequence of program execution by transferring control to some other part of the program

D

carry out a logical test and then take one of two possible actions, depending upon the outcome of the test E. None of the above

Correct Answer: A