下面的程序用来输出两个字符串前5个字符中对应相等的字符及其位置号,程序空白处应选择________。#include void main( ){ char s1[ ]={"appreciate"},s2[ ]={"architecture"};int i;for(i=0;s1[i]!='\0'&& s2[i]!='\0';i++)if(s1[i]==s2[i]&&i<5) ________;}
A. putchar(s2[i]);putchar(i);
B. puts(s1[i],i);
C. printf("%c %d\n",s2[i],i);
D. printf("%c",s1[i]); printf("%d\n",i);