Explain the following expression
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:4| Question number:38
All Answers
total answers (1)
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:4| Question number:38
total answers (1)
The expression first did integral division
`j / i`
, then converted the result to`double`
and assigned it to`slope`
. The result is the same as`double slope = j / i;`
.