difference of null and void code example
Example: null vs void
4
Void : refers to the type. Basically the type of data that it points to is unknown.
Null : refers to the value. It's essentially a pointer to nothing, and is invalid to use.
4
Void : refers to the type. Basically the type of data that it points to is unknown.
Null : refers to the value. It's essentially a pointer to nothing, and is invalid to use.