Chessboard in C

Hello guys,

I am new for programming in C language, my assignment is to read an image by using C Visual studio, and then apply on the photo a chessboard, So the result will be black squares sweeping with white squares, but inside the white squares you can see some parts of the photo like in the chessboard exactly.