Question: How to do this in C++ ? 4. What is the output of the following code? int num = 10; //Line 1 double temp =
How to do this in C++ ?

4. What is the output of the following code? int num = 10; //Line 1 double temp = 4.5; //Line 2 bool found; //Line 3 found = (num == 2 *static_cast int>(temp) + 1); //Line 4 cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
