如果您调用如下函数:
coworkers = engineers(1,0,3);
...
int engineers(unsigned char nerd, unsigned char dweeb[], unsigned char derp) {
printf("Is this the address of dweeb[0]? 0x%x \n", dweeb);
printf("Is this the value of dweeb[0]? %x \n", dweeb[0]);
}
Output:
Is this the address of dweeb[0]? 0xfeedbeef
Is this the value of dweeb[0]?
当我将 0 值传递给 dweeb[] 时,它会变成 dweeb[0] 的值吗?
——我是笨蛋,周五快乐。谢谢