I was learning about recursion using c and there was a question with an array say for example:
void main(){
char str[100];
--snip--
if(*str == 'c')
count++;
--snip--
}
here *str is the value retrieved from the pointer that points to first character of the string str.
My question is what is pointer derefrencing and can i do as follows:
--snip--
str+=1;
--snip--
to get new pointer pointing to the next location of another character in that string?