What is the difference between null pointer and void pointer
Answer Posted / vignesh1988i
NULL POINTER :
the pointer which dosent point to any memory location is
called NULL POINTER.
VOID POINTER :
the pointer is a one which can only point to a particular
memory location of it's own type.... but when the pointer
is given void it can be mde to point any location of
different type
Is This Answer Correct ? | 134 Yes | 13 No |
Post New Answer View All Answers
Explain what are binary trees?
What are the different data types in C?
Which are low level languages?
What is the use of header files?
Tell me when is a void pointer used?
Create a simple code fragment that will swap the values of two variables num1 and num2.
Can you define which header file to include at compile time?
Can I initialize unions?
Explain pointer. What are function pointers in C?
Write a program to implement queue.
How was c created?
What is wrong in this statement? scanf(ā%dā,whatnumber);
while initialization of array why we use a[][2] why not a[2][]...?
why return type of main is not necessary in linux
Why can arithmetic operations not be performed on void pointers?