Which one of the following statements declares the string variables city, state, and zip using a single declaration statement?
A) string city, state, zip;
B) string city, string state, string zip;
C) string city; state; zip;
D) string city_state_zip;
Correct Answer:
Verified
Q36: A common operation performed on strings is
Q37: A(n) _ specifies a variable's name and
Q38: Which one of the following is the
Q39: When an application is running, the control
Q40: Assuming a string variable named city has
Q42: Which one of the following assignment statements
Q43: When declaring multiple variables with one statement,
Q44: You cannot declare two variables with the
Q45: The process of dropping a real number's
Q46: A symbol used in code for performing
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents