Explain what is the difference between NULL and VOID?

Category: Data StructureExplain what is the difference between NULL and VOID?
1 Answers
Editor">Editor Staff answered 2 years ago

Null is actually a value, whereas Void is a data type identifier.
A null variable simply indicates an empty value, whereas void is used to identify pointers as having no initial size.