1.计算int *数组长度: int arrayVlenth(float *p) { int len = 0; while (*p) { p++; len++; } return len; } sizeof(指针),sizeof(数组名)的区别: 例子: #include void fun(
为什么选 Slidev 有许多功能丰富、所见即所得的幻灯片制作工具可供选择,比如 Microsoft PowerPoint 和 Apple Keynote (参见 与其他工具的比较)。它们
1.计算int *数组长度: int arrayVlenth(float *p) { int len = 0; while (*p) { p++; len++; } return len; } sizeof(指针),sizeof(数组名)的区别: 例子: #include void fun(