本文介绍了的C类型强制转换和另外precedence的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是在未来的前pression的precedence?

What's the precedence in the next expression?

item = (char*)heap + offset;

它是(字符*)(堆+偏移量)((字符*)堆)+偏移

推荐答案

根据precedence表的补充。

Cast trumps binary addition according to the precedence table.

这篇关于的C类型强制转换和另外precedence的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 10:02