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”);

1
0
2
-1
3
1
4
3

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation