hi,

u should first work out in our mind ( or on paper ) how ur program is supposed to work:
u put ur ships in an 10x10 char array.
a position that contains a ship is marked with an identifying character ( D- destroyer, B Battleship,...) a position that is empty, contains an X (maybe a space ' ' would be better for visibility )

in ur gameplay loop the player must input a position (x,y) now u must now do what ?
- yes check, if there is a non empty ( != X and != * ) char at this position
( btw: gameBoard[column][row] = mark; places the mark into/ overwrites the gameboard u would probably want it the other way round )

if yes, u have a hit and maybe count the no# of hits and mark this position as hit ( maybe by putting an * at that position ) so that this position couldn't be counted again as hit.

work ur way through step by step , first with paper&pencil before u start to code, make small changes to the code, check the output after each modification ( by printing the board out as eisiminger already pointed out ) then u will succeed