Question: What is the difference between NULL AND VOID pointer?Answer: NULL can be value for pointer type variables.VOID is a type identifier which has not size. NULL and void are not same. Example: void* ptr = NULL; |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is data structure?
- List out the areas in which data structures are applied extensively?
- What is the data structures used to perform recursion?
- If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
- What are the methods available in storing sequential files ?