InterviewSolution
Saved Bookmarks
| 1. |
String class have a concat() function that is used to _____________________(a) Replace old string by new string(b) Add two strings(c) Append one string at end of another string(d) Remove a string from end of one string |
|
Answer» Right choice is (c) Append one string at end of another string The explanation is: The concat function is used to append string into another string. The new string is always appended at the end of source string. The target string is appended as it is and the whole string is then ended by null character. |
|