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
Q43: What is the value of str after
Q44: strcmpfirst, second) returns
A) <0 if first <
Q45: What is the value of numbers.size) after
Q46: Which is the proper way to determine
Q47: What is the proper way to declare
Q49: What is wrong with the following code
Q50: If the name of a file to
Q51: How can you assign the value "toaster"
Q52: If you want to read into a
Q53: Which of the following would correctly read
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