数组笔记2019年9月14日

memset( 数组名称, x, sizeof (数组名称))

若数组为int型 x∈{0,-1}

亦或 定义数组时:
int a[num] = {0}

posted @ 2019-09-14 10:37  FirwoodLin  阅读(126)  评论(0编辑  收藏  举报