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

1. The keyword static is used in a static function declaration in a class but not in the function definition.

2. Vector assignment is well behaved.


1. True
Explanation: The keyword static on an external definition of a static function is not allowed. The error message suggests confusion with a static global function (which we have not studied.)
2. True
Explanation: Vector assignment will do an element by element copy of the vector on the right into the vector on the left. It will manage space as needed, if more on the left if needed. The copy will be a real copy, not an alias. Note that assignment of vectors is as good (or bad) as the assignment of the base type.

Computer Science & Information Technology

You might also like to view...

Which type of control does a lookup field become in a form?

A) Combo box control B) Bound control C) Calculated control D) Unbound control

Computer Science & Information Technology

A module uses what programming language?

A) VBL B) SQL C) VBA D) HTML

Computer Science & Information Technology

A VLAN may affect layer 3 logical addressing.

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

Computer Science & Information Technology

The preset IP address in a managed switch is assigned to a single port.

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

Computer Science & Information Technology