單項(xiàng)選擇題

#includemain(){ static char a[]=" Languagef" ,b[]="programe";char *p1,*p2; int k;p1=a; p2=b;for(k=0; k<=7; k++)if(*(p1+k)==*(p2+k)) printf(" %c",*(p1+k)); }

A.gae
B.ga
C.Language
D.有語法錯(cuò)
點(diǎn)擊查看答案&解析

你可能感興趣的試題


單項(xiàng)選擇題

char s[]=" an apple" ;printf(" %d\n",strlen(s));

A.7
B.8
C.9
D.10

單項(xiàng)選擇題

P & G's Pampers disposable baby diapers became a success in the market, because______.

A.cloth-substitute paper products are the cheapest in the market and attract most consumers, especially married women
B.the sensitive executives of P & G added new products in response to the changes and demands of the target market
C.the alert executives of P & G took a threat as a signal and lowered the price of their products responsively
D.the alert executives of P & G tried to keep the high volume sales by cutting the prices of their products