Q6.webp
F

Q6.webp

  • Media owner Falman97
  • Ngày thêm
Question: 6
(Choose 2 answers)
Which of the following is a valid way to declare an enumeration with explicit values in C++?
A. enum Status {Pending = 1, Approved = 2, Rejected = 3};
B. enum Status { Pending = "Pending", Approved = "Approved", Rejected = "Rejected" };
C. enum Status { Pending, Approved, Rejected = 3};
D. All of the others

Thông tin

Category
PRF193
Thêm bởi
Falman97
Ngày thêm
Lượt xem
638
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom