QUESTION 41 library The various string functions that were discussed in lecture (strcpy, strcmp. etc.) are contained in
Posted: Sat May 14, 2022 8:22 pm
QUESTION 41 library The various string functions that were discussed in lecture (strcpy, strcmp. etc.) are contained in the O a cstring biostream c cstdlib Odiomanip QUESTION 42 a character string will need room to hold a maximum of 80 characters, how should it be defined so that it will be treated as a VALID string? O a charac80) b.char ar79) c chararli d. chara611
QUESTION 38 strcat(stringi string2): places a null terminated copy of string2 into string1. O a true O b.false QUESTION 39 The null terminator is represented as a character literal of a NO bu Och d. QUESTION 40 Which of the following is a statement that will copy the string stru into string str2? a strcpy( stri, str2 ) b.strcpy( str2. stri
QUESTION 36 void testfn( double &, double &); is a prototype for a function. Which of the following is a valid calling statement for the function testin, assuming that vart and var2 are double variables? O a testfn Bar1, &v2); Ob testin "vart, "var2 ); Oc testinvart vat2): QUESTION 37 The function will append on string to another a strcat Ob strcpy Ostrien Od strcmp
QUESTION 38 strcat(stringi string2): places a null terminated copy of string2 into string1. O a true O b.false QUESTION 39 The null terminator is represented as a character literal of a NO bu Och d. QUESTION 40 Which of the following is a statement that will copy the string stru into string str2? a strcpy( stri, str2 ) b.strcpy( str2. stri
QUESTION 36 void testfn( double &, double &); is a prototype for a function. Which of the following is a valid calling statement for the function testin, assuming that vart and var2 are double variables? O a testfn Bar1, &v2); Ob testin "vart, "var2 ); Oc testinvart vat2): QUESTION 37 The function will append on string to another a strcat Ob strcpy Ostrien Od strcmp