Multiple Choice
Which assignment statements will copy the value " toaster" into a string variable str1) ?
A) strcpystr1,"toaster") ;
B) str1 = "toaster";
C) str1 = toaster;
D) str1 += toaster;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q23: What is the value of numbers.size) after
Q24: What is wrong with the following code
Q25: What is the difference between strcat and
Q26: If the capacity of a vector named
Q27: Given the following declarations, which of the
Q29: Which is the proper way to determine
Q30: How can you assign the value "toaster"
Q31: strcmpfirst, second) returns<br>A) <0 if first <
Q32: In a vector, which of the following
Q33: Which of the following declarations correctly creates