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
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
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
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
I think the answer is wrong, why don’t you write a program yourself and try it
The answer is wrong, I personally think