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
Q46: Which is the proper way to determine
Q47: What is the proper way to declare
Q48: Which assignment statements will copy the value
Q49: What is wrong with the following code
Q50: If the name of a file to
Q52: If you want to read into a
Q53: Which of the following would correctly read
Q54: To add an element to a vector
Q55: Which of the following returns the fourth
Q56: To declare a c-string and initialize it
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