What will the output of the following code be if A is true, B is false and C is false at the time these lines are executed
if(A&&C)cout<<"Do this\n";
else if (B||A)cout<<"Do that\n"
This is a discussion on code help within the C++ Programming forums, part of the General Programming Boards category; What will the output of the following code be if A is true, B is false and C is false ...
What will the output of the following code be if A is true, B is false and C is false at the time these lines are executed
if(A&&C)cout<<"Do this\n";
else if (B||A)cout<<"Do that\n"