| (a) | 0 |
| (b) | -8 |
| (c) | -13 |
| (d) | -15 |
1 + 2 * 3 + 4 * 5would be which of the following?
| (a) | 65 |
| (b) | 69 |
| (c) | 105 |
| (d) | 135 |
| (a) | has type double and value 2.375 |
| (b) | has type double and value 2 |
| (c) | has type int and value 2 |
| (d) | has type int and value 2.375 |
#include <iostream.h>
int main()
{
int a, b;
a = 6;
b = a + 7;
cout << "a = " << a << ", b = " << b << endl;
a += b / 3;
cout << "a = " << a << ", b = " << b << endl;
a = b = 2 * a;
cout << "a = " << a << ", b = " << b << endl;
}