Which statement would be used to declare and initialize a string variable named zipCode?

A. string zipCode = "";
B. zipCode = "";
C. init zipCode = "";
D. declare zipCode = "";


Answer: A

Computer Science & Information Technology

You might also like to view...

private fields of a superclass can be accessed in a subclass

a. by calling private methods declared in the superclass. b. by calling public or protected methods declared in the superclass. c. directly. d. All of the above.

Computer Science & Information Technology

In function apart defined below, how many of the arguments are considered input arguments?

``` (float x, int& wholep, float& fracp) { // computations ... return; } ``` a. 0 b. 1 c. 2 d. 3 e. All of the above.

Computer Science & Information Technology

To replace text, you click the Replace button in the ________ group on the Home tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

Setting a(n) ________ for fields that contain the same data for multiple records increases the efficiency of data entry

Fill in the blank(s) with correct word

Computer Science & Information Technology