I am trying to learn how to use pointers in C and I'm trying to get the equivalents for &input[71] and &input[i];
I have tried if (*(input+i) - arrayEnd) == 0)
and it tells me I have an int
vs char *
comparison.
char input[72];
char *arrayEnd = &input[71];
if((&input[i] - arrayEnd) == 0)