指針 數組 結構體 練習

#include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <stdbool.h> //簡單數組存儲 gcc下運行 //J.WANG 2013-6-8 typedef struct Arr{ int * data; //存儲數組的第一個元素的地址 int len; //數組的存儲長度 int index; //有效
相關文章
相關標籤/搜索