c = (a / b, a%b) 运算输出顺序

#include<iostream>
int main()
{
    using namespace std;
    int a, b, c;
    a = 11; b = 3; c = 0;
    printf("%d\n", c = (a / b, a%b));
    system("pause");
    return 0;
}

运行截图:

posted @ 2015-09-20 16:19  Mr__sun  阅读(405)  评论(0编辑  收藏  举报