MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the value of ‘i’ after the execution of the given C code fragment?static char str1[] = ”dills”;static char str2[20];static char str3[] = ”daffo”;int i;I = strcmp(strcat(str3,strcpy(str2,str1)),”daffodills”); |
| A. | 0 |
| B. | -1 |
| C. | 1 |
| D. | 3 |
| Answer» B. -1 | |