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
Does c have class?
Explain how can I right-justify a string?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What does printf does?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Why can arithmetic operations not be performed on void pointers?
What do you understand by normalization of pointers?
Explain how can I make sure that my program is the only one accessing a file?
What is scanf () in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Why c is called a mid level programming language?
Can you mix old-style and new-style function syntax?
What is the importance of c in your views?
What are multibyte characters?