Question: Basic c++ question Why isnt the answer 3.75 if it is a float data type? 10. What is the value of x after the following

Basic c++ question
Why isnt the answer 3.75 if it is a float data type?  Basic c++ question Why isnt the answer 3.75 if it is

10. What is the value of x after the following statements? float x; x= 15/4; a. 3.75 b. 4.0 c. 3.0 d. 60

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!