题库首页 › GESP等级认证(C++) › 题目 11778

下面可以正确输出 They're planning a party for their friend's birthday. 的C++语句是?( )

A:cout << 'They\'re planning a party for their friend'\s birthday." << endl;
B:cout << "They\'re planning a party for their friend's birthday.'<< endl;
C:cout << 'They're planning a party for their friend's birthday.'<< endl;
D:cout << "They\'re planning a party for their friend\'s birthday." << endl;

正确答案:D

试卷来源:202406 CCF-GESP编程能力等级认证C++三级真题

本卷相关题目

在线做题 同科目题库