Array可以直接依照index而設值

array[3] = {
[0] = 11,
[2] = 22,
[1] =33
};

出來的array是

array[0] : 11

array[1]: 33

array[2]:22

發表迴響

Copy Protected by Chetan's WP-Copyprotect.