Vidyalelo
Computer Science · Q469

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 469

Q469

The comma operator (,) is used to

A.
permit two different expressions to appear in situations where only one expression would ordinarily be used
Answer
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

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board