Mahmudul Hasan pfp
Mahmudul Hasan
@pmofficial
here is a prob compare: #include <stdio.h> #include <string.h> int main() { char str1[] = "hello"; char str2[] = "world"; int result = strcmp(str1, str2); if (result == 0) { printf("The strings are equal.\n"); } else { printf("The strings are not equal.\n"); } return 0; }
11 replies
3 recasts
3 reactions

Neon Sr. pfp
Neon Sr.
@neonsr.eth
hello world
0 reply
0 recast
1 reaction