[C++14] : Which of the statements a), b) and c) is false?

a. To create a binary literal, precede a sequence of 1s and 0s with 0b or 0B.
b. You can define a 32-bit mask as
0b10000000'00000000'00000000'00000000
c. The literal in part b) uses C++14’s single-quote character to separate groups of digits for readability.
d. All of the above statements are true.


d. All of the above statements are true.

Computer Science & Information Technology

You might also like to view...

Which of the following formatting options are available for text inside a shape?

A. font B. font color C. alignment D. font size

Computer Science & Information Technology

Forms are created using the ____ element.

A. B.

C. D.

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1) An object of type iterator refers to a container element that can be modified. 2) We use const versions of the iterators for traversing read-only containers. 3) For input iterators and output iterators, it’s common to save the iterator then use the saved value later. 4) Class templates array, vector and deque are based on built-in arrays 5) Attempting to dereference an iterator positioned outside its container is a compilation error. In particular, the iterator returned by end should not be dereferenced or incremented.

Computer Science & Information Technology

Draw and annotate a class hierarchy that represents various types of faculty at a university. Show what characteristics would be represented in the various classes of the hierarchy. Explain how polymorphism could play a role in the process of assigning courses to each faculty member.

What will be an ideal response?

Computer Science & Information Technology