if i use exit(); in my code it throws and undefined function erro f i pass any int value as aparameter to it it excepts it

ie exit() fais to work

exit(0), exit(1) exit(998) all work

what is the significance of the parameter? and why is it needed/