$ P[C=1 | A=0]=P[B=1]=p \, $
$ P[C=1 | A=1]=P[B=0]=1-p \, $
Since p isn't equal to 1-p, the two events aren't independent.