给定函数原型和类型定义:
int my_function(unsigned short x);
typedef unsigned short blatherskite;
Run Code Online (Sandbox Code Playgroud)
是否按标准定义了以下情况:
int main(int argc, char** argv) {
int result;
blatherskite b;
b=3;
result = my_function(b);
}
Run Code Online (Sandbox Code Playgroud)
我可以通过函数原型预测到类型强制吗?