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

1. Arrays can contain different types of data, structs cannot.
2. If a struct type car has been defined with members make and type, then
car.make = “Ford”;
is a possible correct assignment.
3. A variable of struct type can be passed to a function as an argument.
4. It is more efficient to pass a struct type variable as a const reference parameter than as a value parameter.
5. After the following declaration and assignment:
char title[] = “Professor”;
the last character in title will be ‘r’;


1. False
2. False
3. True
4. True
5. False

Computer Science & Information Technology

You might also like to view...

When a peripheral device malfunctions, the first thing you should do is check _____.

A. whether the device driver is up-to-date B. that the device is properly connected to the computer and power supply C. whether the device is properly configured D. whether the operating system is damaged

Computer Science & Information Technology

Many laptop computers have a recommended display resolution that provides the best image quality.

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

Computer Science & Information Technology

The ________ includes generic security capabilities that are independent of applications.

A) Network layer B) Device layer C) Management capabilities D) Security capabilities layer

Computer Science & Information Technology

The field ________ property indicates how many characters can be entered into the field

Fill in the blank(s) with correct word

Computer Science & Information Technology