Multiple Choice
How can you assign the value "toaster" to a c-string name str of size 10?
A) str="toaster;
B) str=toaster;
C) strcpystr,"toaster") ;
D) str.strcpy"toaster") ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q25: What is the difference between strcat and
Q26: If the capacity of a vector named
Q27: Given the following declarations, which of the
Q28: Which assignment statements will copy the value
Q29: Which is the proper way to determine
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
Q34: The notation vector<Base_Type> means that the vector
Q35: When the extraction operator is used to