What is the data type of variable x in the following C++11 code:
int y= 2;
double z = 3.5;
auto x = z * y;

a. int
b. double
c. auto
d. syntax error


b

Computer Science & Information Technology

You might also like to view...

A horizontal line can be inserted from the ________ tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

____ is a C++ format manipulator.

A. iostream B. endl C. fixed D. cout

Computer Science & Information Technology

The _________________________ tools let you draw a marquee that selects a portion of the document window.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Strings may be declared as character arrays or as pointers to characters.

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

Computer Science & Information Technology