What is null literal in Python
Answers
Answered by
12
Answer:
NULL is used for non-object pointers; void * . And nil is used in place of an id. Nil can be used anywhere where you can use NULL. So it would be nil in my opinion as None in Python represent the absence of a value. NULL (void *)0 literal null value for C pointers.
hope it helps you
Answered by
0
Explanation:
Explanation:The None keyword is used to define a null variable or an object. In Python, None keyword is an object, and it is a data type of the class NoneType . ... Note: All variables that are assigned None point to the same object.
Similar questions