1.赋值号赋值 int value=2; cout << value << endl; return 0; 2.小括号赋值 int value(2); cout << value << endl; return 0;