#2084. 例题1

例题1

下面程序的输出是()。

#include <iostream> using namespace std;
int main() {
    cout << "5%2=" << 5 % 2;
    return 0;
}

{{ select(1) }}

  • 2 2
  • 1 1
  • 5%2=2
  • 5%2=1