题目内容

输入2个整数a和b,交换其值,然后输出a和b的值。#include int main(void){ int a, b, temp;scanf("%d%d", &a, &b);____________ ;a = b;____________ ;printf("%d %d\n", a, b); return 0;}

查看答案
更多问题

执行以下程序段后,输出:int number;number = 789;printf("%d-%d-%d\n", number%10, number/10%10, number/100);

执行以下程序段后,输出:int number;number = 531;printf("%d-%d\n", number%2, number%3);

执行以下程序段后,输出:int number;number = 11;printf("%d-%d-%d\n", number/2, number/3, number/12);

在C语言中,单目运算符需要2个操作数。

A. 对
B. 错

答案查题题库