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:

Code:
char str5[]="abcabbacda",ch='a';
char * pos;

 
 
pos = strchr(&str5[1], ch);

 
			
if(pos!=NULL)
 
 

 
			{ 

 
			printf(
"%p ", pos);

 
			}
why is this not NULL?
since str[1]=='b' and not 'a'.