Excel in math, science, and engineering

New user? Sign up

Existing user? Sign in

1 2 3 4 5 6 7

if(checkA){ if(!checkA || checkB){ if(checkB){ return true; } } }

Which of the following is equivalent to the above piece of a C++ code?

A

1 2 3

if(checkA && checkB){ return true; }

B

if(checkA || checkB){ return true; }

C

if(!checkA && checkB){ return true; }

D

if(!checkA || checkB){ return true; }

Problem Loading...

Note Loading...

Set Loading...