【新手求助】此函数中i的作用是什么?void fun(char *s,char t[]){int i=0;while(*s){\x05if(!(*s%2==1&&i%2==0))\x05{\x05\x05*t++=*s;\x05}\x05s++;\x05i++;}*t=0;}
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/05 05:21:16
![【新手求助】此函数中i的作用是什么?void fun(char *s,char t[]){int i=0;while(*s){\x05if(!(*s%2==1&&i%2==0))\x05{\x05\x05*t++=*s;\x05}\x05s++;\x05i++;}*t=0;}](/uploads/image/z/13110092-44-2.jpg?t=%E3%80%90%E6%96%B0%E6%89%8B%E6%B1%82%E5%8A%A9%E3%80%91%E6%AD%A4%E5%87%BD%E6%95%B0%E4%B8%ADi%E7%9A%84%E4%BD%9C%E7%94%A8%E6%98%AF%E4%BB%80%E4%B9%88%3Fvoid+fun%28char+%2As%2Cchar+t%5B%5D%29%7Bint+i%3D0%3Bwhile%28%2As%29%7B%5Cx05if%28%21%28%2As%252%3D%3D1%26%26i%252%3D%3D0%29%29%5Cx05%7B%5Cx05%5Cx05%2At%2B%2B%3D%2As%3B%5Cx05%7D%5Cx05s%2B%2B%3B%5Cx05i%2B%2B%3B%7D%2At%3D0%3B%7D)
x){0ٴ
:mlzڵqgkdSV<';;3SJ43utItfuf^BuyFfNVfuLif"jdkk
45A2`i*ֶ*kAD6 kJf$\6nK]F(D\
a({/r+,{cЁ4ti;:Own{cʓDEހziǶB!