What does / do in C++ when used with integers?, Always returns decimal, Integer division (no decimal), Remainder, Power, What is the result of: 10 / 3, 3.33, 3, 4, 1, What is the result of: 10.0 / 3, 3, 3.33, 4, error, What does % do?, Division, Multiplication, Remainder of division, Power, What is the result of: 10 % 3, 3, 1, 0, 10, What happens if you use % with decimals?, 1.5, Works normally, Compile error, 0, What does * do?, Divide, Multiply, Compare, Power, What does ** do in C++?, Power, Multiply twice, Nothing (invalid operator), Bitwise AND, How do you calculate powers in C++?, **, pow(x, y), x ^^ y, x // y, What does && do?, Bitwise AND, Logical AND, Multiply, Compare numbers, What does & do?, Logical AND, Bitwise AND OR address-of operator, Multiply, Compare, What is the result of: True && False, True, False, 0, Error, What type is: 10, float, string, int, bool, What type is: 10.5, float, string, int, bool, What type is: "A", string, char, int, bool, What type is: "Hello", char, string (C-style string / std::string context), int, bool, What type is: true, int, float, bool, string, What is the result of: 5 / 2, 2.5, 2, 3, error, What is the result type of: 5.0 / 2 , 2, 2.5, 3, error, What is the result of: 5 + 2.0, float, string, int, bool, What is the result of "5" + "2" ?, "52", 7, Compile error, "7", What happens here: 5 + "2", 7, "52", Compile error6, 10, What is the result of: 2 * 3 + 4, 14, 10, 20, 24, What is the result of: (2 * 3) + 4, 14, 10, 20, 6, What is the result of: 2 + 3 * 4, 20, 14, 24, 10, What does this return? bool x = (5 > 3);, int, float, bool, string, What is the result of: int x = 5 / 2;, 2.5, 2, 3, error.
0%
C++ Coding Introduction (Operators & Data Types)
Chia sẻ
Chia sẻ
Chia sẻ
bởi
Emileltl
Chỉnh sửa nội dung
In
Nhúng
Nhiều hơn
Tập
Bảng xếp hạng
Hiển thị thêm
Ẩn bớt
Bảng xếp hạng này hiện đang ở chế độ riêng tư. Nhấp
Chia sẻ
để công khai bảng xếp hạng này.
Chủ sở hữu tài nguyên đã vô hiệu hóa bảng xếp hạng này.
Bảng xếp hạng này bị vô hiệu hóa vì các lựa chọn của bạn khác với của chủ sở hữu tài nguyên.
Đưa các lựa chọn trở về trạng thái ban đầu
Chương trình đố vui
là một mẫu kết thúc mở. Mẫu này không tạo điểm số cho bảng xếp hạng.
Yêu cầu đăng nhập
Phong cách trực quan
Phông chữ
Yêu cầu đăng ký
Tùy chọn
Chuyển đổi mẫu
Hiển thị tất cả
Nhiều định dạng khác sẽ xuất hiện khi bạn phát hoạt động.
)
Mở kết quả
Sao chép liên kết
Mã QR
Xóa
Bạn có muốn khôi phục tự động lưu:
không?