Multiple Choice
Given the following declarations, which of the following is legal syntax?
String str="Your name";
Char c_string[20]="My name";
A) str = c_string;
B) c_string = str;
C) strcpyc_string, str.c_str) ) ;
D) strcpyc_string, str) ;
E) A and C
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: The following code declares a vector of
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
Q28: Which assignment statements will copy the value
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