Is there a way to notice the difference between the value 0 and Null for Int types?
No, Null is an Object specific identifier and will always be converted to the default "zero" state of any variable type.
Use a magic value instead, like -1 or some other value that your input doesnt use.