Question: Which of the following declarations creates a variable that can store the address of a string and allows the programmer to change that address?
Which of the following declarations creates a variable that can store the address of a string and allows the programmer to change that address? Qa. string addr2 [10]; O b. string addr1; Oc. vector addr3; O d. string addr4; QUESTION 2 Which is the best prototype for a C++ function that takes a list of strings and returns the first string that includes an uppercase letter? a. string firstWithUpper (string words []); Ob. void firstWithUpper (string words [], int length); OC. string firstWithUpper (string words, int length); Od. string firstWithUpper (string words [], int length);
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The image youve uploaded contains two s... View full answer
Get step-by-step solutions from verified subject matter experts
