What is the difference between 'Count + 1' and '++count'or'count++'

while recursing:
set(board, i, j, count++) or set(board, i, j, ++count)
is not working
but
set(board, i, j, count + 1) is working…kindly tell the difference

i + 1 is a temporary which returns what it says, i + 1 , but does not change the value of i itsself. whereas i++ and ++i increment AND change the value