C
Programming and Technical
Programming
Technical
what is the the difference between NULL AND 0 in case of computeer programming...?
Read Solution (Total 3)
-
- "Zero" is a value. It is the unique, known quantity of zero, which is meaningful in arithmetic and other math.
"Null" is a non-value. It is a "placeholder" for a data value that is not known or not specified. It is only meaningful in this context; mathematical operations cannot be performed on null - 9 years agoHelpfull: Yes(4) No(0)
- 1) ascii value of null is 0 where as 48 in case of numerical 0
2) NULL is a pointer. It’s a constant, defined in stdio.h where as Zero is a value. It’s not a memory location, as only pointers can hold memory locations. - 9 years agoHelpfull: Yes(0) No(1)
- NULL means the value is not defined and 0 means the value is actualy zero
- 9 years agoHelpfull: Yes(0) No(1)
C Other Question