Exam4Training

How should this expression be modified to ensure that evaluates to false?

Refer to the expression below:

Let x = (‘1’ + 2) == (6 * 2);

How should this expression be modified to ensure that evaluates to false?
A . Let x = (‘1’ + ‘ 2’) == ( 6 * 2);
B . Let x = (‘1’ + 2) == ( 6 * 2);
C . Let x = (1 + 2) == ( ‘6’ / 2);
D . Let x = (1 + 2 ) == ( 6 / 2);

Answer: B

Exit mobile version