Untitled
unknown
plain_text
3 years ago
291 B
7
Indexable
#include <stdio.h>
int strcasecmp(char src[], char dst[]);
void main(){
char str1 [] = "sample";
char str2 [] = "Sample";
int size;
size = strcasecmp(str1, str2);
printf("%d", size);
}
int strcasecmp(char src[], char dst[]){
int size;
size = strcmp(src,dst);
return size;
}Editor is loading...