大家讲道理2017-04-17 14:43:15
I typed it myself and the result was 5.00. The answer is wrong. It may be the difference between compilers. I use gcc;
In addition, it is recommended not to use mobile phone software to answer these basic questions. They do not know where to find the questions and answers. It is recommended to directly look for the C language final examination paper from a prestigious school and do it
PHPz2017-04-17 14:43:15
I debugged it with the C++ compiler and found that the answer is 5.
There are many explicit or implicit type conversions in this program. The topic is the same as the link description in this article
巴扎黑2017-04-17 14:43:15
I think the answer is wrong, why don’t you write a program yourself and try it