0

Yu

#include<stdio.h> #include<string.h> int main( ) { char str1[10], str2 [10]; int a; printf ("Enter the first string: "); scanf("%s",str1); printf ("Enter the second string :"); scanf("%s",str2); a=strncmp(str1,str2,4); printf("%d",a); return 0; }

27th Dec 2022, 7:45 AM
ENGINEER JOURNALIST
ENGINEER JOURNALIST - avatar
1 Resposta
27th Dec 2022, 8:24 AM
Jayakrishna 🇮🇳