Chapter 2: Problem 17
What is the output of the following statements? Suppose a and b are int
variables, \(c\) is a double variable, and \(a=13, b=5,\) and \(c=17.5\)
a. cout << a + b – c << endl;
b. cout << 15 / 2 + c << endl;
c. cout << a / static_cast
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.