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. strcpy(c_string, str.c_str());
d. strcpy(c_string, str);
e. A and C
e. A and C
You might also like to view...
MC Which of the following is a correct function definition header?
a) def count (x,y). b) def count (x,y):. c) count (x,y):. d) None of the above.
Every JComponent has an instance variable called that enables the object to maintain references to all its registered listeners.
a. registeredListenerList b. listenerList c. registeredList d. eventListenerList
Events appear in individual time slots in the appointment area.
Answer the following statement true (T) or false (F)
The java.lang package contains fundamental classes and is imported automatically each time a program is written.
Answer the following statement true (T) or false (F)