InterviewSolution
Saved Bookmarks
| 1. |
What Is Wrong With This Statement? My Name = “robin”; |
|
Answer» You cannot use the = SIGN to assign values to a string variable. INSTEAD, use the strcpy FUNCTION. The correct STATEMENT WOULD be: strcpy (my Name, “Robin”); You cannot use the = sign to assign values to a string variable. Instead, use the strcpy function. The correct statement would be: strcpy (my Name, “Robin”); |
|