Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

C++ và những câu hỏi liên quan
Nội dung xem thử
Mô tả chi tiết
C++
Question #1
What number of digits that can be accuratly stored in a float (based on the
IEEE Standard 754)?
a) 6
b) 38
c) An unlimited number
Answer: A
Question #2
Which of the following is evaluated first:
a) &&
b) ||
c) !
Answer: C
Question #3
What does 7/9*9 equal (in C and C++)?
a) 1
b) 0.08642
c) 0
Answer: C
Question #4
Which is not valid in C?
a) class aClass{public:int x;};
b) /* A comment */
c) char x=12;
Answer: A
Question #5
Which of the following is not a valid declaration for main()?
a) int main()
b) int main(int argc, char *argv[])
c) They both work
Answer: C
Question #6
Evaluate as true or false: !(1 &&0 || !1)