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

A61984. 运行下列程序时,则程序的输出结果是( )。#include<bits/stdc++.h>

单选题

题目描述

运行下列程序时,则程序的输出结果是(   )。

#include<bits/stdc++.h>
using namespace std;
int main()
{
    string s, t;
    int pos;
    s="abcababc";
    t="abc";
    pos=s.find(t, 2) ;
    cout<<pos;
    return 0;
}

选项(单选)