下面程序希望得到的运行结果如下:Total string numbers = 3How are you但是现在代码存在错误,找出下面选项中修改正确的语句#include
voidPrint(char*arr[],intlen);intmain(){char*pArray[]={"How","are","you"};intnum=sizeof(pArray)/sizeof(char);printf("Totalstringnumbers=%d\n",num);Print(pArray,num);return0;}voidPrint(char*arr[],intlen){inti;for(i=0;i
A.
第6行应该是: int num = sizeof(pArray) / sizeof(char*);
B.
第12行应该是: void Print(char arr[], int len)
C.
第5行应该是: char pArray[] = {"How","are","you"};
D.
第6行应该是: int num = sizeof(pArray/char *);