int a[]={1,2,3,5,6}; int Length=sizeof(a)/sizeof(int);
*C语言的小技巧
原文:http://www.cnblogs.com/tinaluo/p/5285926.html