How does casting a type in a function call work?

后端 未结 0 1599
盖世英雄少女心
盖世英雄少女心 2021-01-28 06:23

Let\'s say I have something like the following to call a function in C:

void test1(void) {
    int a=7;
    function((short) a);
}

Does the compi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题