#include <stdio.h>
#include "core.c"
int compare(char *c_w_one, char *c_w_two, int w_s_one, int w_s_two){
if (w_s_one != w_s_two)
return 0;
else
for (int i = 0; *(c_w_one + i) != '\0'; ++i){
if (*(c_w_one + i) != *(c_w_two + i)){
return 0;
break;
}else{
if (*(c_w_one + i + 1) == '\0')
return 1;
}
}
}
int main(){
char word_one[] = "word";
char word_two[] = {'w', 'o', 'r', 'd', '\0'};
if (compare(&word_one[0], &word_two[0], sizeof(word_one), sizeof(word_two)))
printf("%s\n", "words is identical !");
return 0;
}