I'm new to c programming so this was a great help.