1. C语言没有布尔类型,使用数值0表示false,非0表示true。
  2. 数组初始化,int arr[100] = {1};会把第一个元素初始化为1,其余的初始化为0。

results matching ""

    No results matching ""