摘要:        
方法一:形参给出第二维的长度。例如:#include<stdio.h>#include<math.h>#include<ctype.h>#include<string.h>#include<stdlib.h>voidfunc(intn,charstr[][5]){inti;for(i=0;i<n;i++)printf("\nstr[%d]=%s\n",i,str[i]);}intmain(){char*p[3];charstr[][5]={"abc","def",&qu    阅读全文
        
            posted @ 2011-04-20 00:32
xueda120
阅读(280)
评论(0)
推荐(0)
        
     

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号