Im relatively new to C. On Tuesday we have a small test on simple things. On the sample test I have managed to answer many of the questions however I cant seem to solve a simple expression having to do with double and int. The question is:
1. What is the value of the following expression in C? Assume a=5, b=7, c=3.2, d=5.0.
From what my friend says, the answer is 19.2; however I do not know how he came to that conclusion. I know the book definitions of int and double, but I cant seem to apply it to this expression. I would appreciate it if someone could show me the process to solving it.