engineering recuitment GATE CSE 2023-24 Test Series Programming and Data Structure Programming in C Character String
What is the output of the below given code
#include
#include
int main()
{
char s1[] = "TESTBOOk";
char s2[] = "TESTBOOK";
printf("%d",strcmp(s1,s2));
return 0;
}
1
-1
2
0
3
1
4
26