Computer Science, asked by tanwardolly8163, 1 year ago

Is NULL and 0(zero) same justify your answer.

Answers

Answered by prerna97620
9

NULL basically means no value, or unknown, it is not to be confused with 0 which is a numeric value by itself. NULL value could be either empty, meaningless, or not even initialized. For eg when we say, bonus is 0, it means the person is not getting any bonus. But if we say bonus is NULL, we are not sure, what it does mean. It could be no Bonus applicable or some junk value or not defined. 0 is a definitive integer, NULL on the other hand is simply void.

Answered by Thepassionate
6

Answer:

Explanation:

NULL basically means no value, or unknown, it is not to be confused with 0 which is a numeric value by itself. NULL value could be either empty, meaningless, or not even initialized. For eg when we say, bonus is 0, it means the person is not getting any bonus. But if we say bonus is NULL, we are not sure, what it does mean. It could be no Bonus applicable or some junk value or not defined. 0 is a definitive integer, NULL on the other hand is simply void.

Similar questions