int arr[5]; for (int i = 0; i < 5; i++) { arr[i] = i; }
int arr[5] = {1, 2, 3, 4, 5};
int arr[5]; memset(arr, 0, sizeof(arr));
int arr[5]; int *ptr = arr; for (int i = 0; i < 5; i++) { *ptr++ = i; }
億速云公眾號
手機網(wǎng)站二維碼
Copyright ? Yisu Cloud Ltd. All Rights Reserved. 2018 版權(quán)所有
廣州億速云計算有限公司粵ICP備17096448號-1 粵公網(wǎng)安備 44010402001142號增值電信業(yè)務(wù)經(jīng)營許可證編號:B1-20181529