(++i)+(++i)+(++i)

#include<stdio.h>

#include<iostream>

using namespace std;


void main()

{

    int i = 3;

    int x = (++i)+(++i)+(++i);

    int y = (++i)+(++i);

    cout<<i<<" "<<x<<" "<<y<<endl;

}

请问结果是:()

A. 6 15 9

B. 8 15 15

C. 6 16 9

D. 8 16 16


猜你喜欢

转载自blog.csdn.net/judgejames/article/details/81039004
I