Question: What is the correct output from the following program? #include using namespace std; int main() { int A, B; A = 6; B = 1;
What is the correct output from the following program?
#include
A = A * B + 2; B ++; } else { A = A / 2; B = B + 4; }
cout << A = << A << B = << B; return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
