Hi everyone,
I am new to this forum so welcome,
i also have a knowledge in java so feel free to ask me.
Since i am new to c ,
i have this question:
why is this not NULL?Code:char str5[]="abcabbacda",ch='a'; char * pos; pos = strchr(&str5[1], ch); if(pos!=NULL) { printf( "%p ", pos); }
since str[1]=='b' and not 'a'.