Question: 1. What is the difference between one equal sign = and two equal signs == in C++? In your answer, explain in what scenario would
1. What is the difference between one equal sign "=" and two equal signs "==" in C++? In your answer, explain in what scenario would you use either of them.
2. explain in detail how the if then/else if structure works?
3. How does C++ handle a logical "AND" short circuit expression?
4. , explain in detail how the switch structure works; make sure to talk about the significance of the break statement?
5. When would you use a sentinel controlled while loop?
6. In what scenario does it make sense to use a for loop instead of a while loop?
7. How does a break statement differ from a continue statement in a loop?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
