测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A34509. 下面C++代码用于统计每种字符出现的次数,当输出为3时,横线上不能填入的代码是( )。string str ="GESP is a good programming test !"; int x =0; for(int i=0;i<str.length();i++){ if(____________){ x++; } }

单选题 中等

题目描述

下面C++代码用于统计每种字符出现的次数,当输出为3时,横线上不能填入的代码是(    )。

string str ="GESP is a good programming test !";

int x =0;
for(int i=0;i<str.length();i++){
    if(____________){

        x++;
    }
}

选项(单选)

上一题 下一题