The comma operator

a. is a list of expressions separated by commas
b. according to the ANSI C++ Standard, is supposed to be evaluated left to right
c. not all compilers evaluate left to right, i.e., do not follow the C++ Standard, hence left to right evaluation should not be depended upon.
d. has value equal to the value of the first expression in the list.
e. all of the above


a) b) c).
Explanation: d) is wrong, the correct statement is: A comma expression has value equal to the value of the last expression in the list.

Computer Science & Information Technology

You might also like to view...

To define a field for a table, you begin by selecting a(n) __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Step-by-Step Mail Merge Wizard can also be used to generate envelopes and labels.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

It takes ________ occurrence(s) of overextending yourself during testimony to ruin your reputation.

A. At least two B. Only one C. Several D. Only one if it is a major case

Computer Science & Information Technology

Which of the services below do you get root access to?

A. Elasticache & Elastic MapReduce B. RDS & DynamoDB C. EC2 & Elastic MapReduce D. Elasticache & DynamoDB

Computer Science & Information Technology