I'm trying to build a BST. My struct;
typedef struct node{
int charSize;
char english[30];
char span[40];
struct node *left;
struct node *right;
} BST;
i'm trying to compare two character arrays. In Xcode, it does not give me any warning using the following lines to compare the arrays, but i'm sure its wrong and was wondering why is it not giving me an error.
if (head->english <= head2->english)
printf("headOne is smaller or equal");
else
printf("headOne is Bigger");