Oh wait.....that assignment statement for the pointer should be: char * pmatrix1 = &matrix1[0][0]; sorry for the confusion. I HAVE compiled this much without errors.