Question: 1. (Variable Type) It is very important to use the correct type (int, float, char, double) for each variable defined/declared. If you mix different types




1. (Variable Type) It is very important to use the correct type (int, float, char, double) for each variable defined/declared. If you mix different types of variables, the precedence is double > float > int=char. Compose the following program and run it. Discuss (a) the result (why it did not work as expected) and (b) how you can modify the code so that it prints the expected value. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
