I new to C. I am reading a find-replace algorithm for C and I am a bit confused what the - & + operators do in this code:
-
+
char *re
Read more on pointer arithmetic.
Basically + for char *:
char *
a=a+1 => a=(char *) ( (int)a + sizeof(char) )