The following code segment should include the __________ statement at the end of each case to cause proper exit of control.
switch (operator) {
case '+':
result = x + y;
add_op++;
/* missing statement */
case '/':
result = x / y;
divide_op++;
/* missing statement */
default: ;
}
Correct Answer:
Verified
Q3: The line int main () identifies the
Q4: If you place a(n) _ before a
Q5: The# include directive has one of two
Q6: If num = 1 when the condition
Q7: Which value of n will cause the
Q9: C++ uses type _ to represent logical
Q10: In operations involving mixed-type operands, the numeric
Q11: Objects that are declared outside the scope
Q12: In C++, function parameters are either call-by-value
Q13: The notation for applying a member function
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents