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
Why can't I perform arithmetic on a void* pointer?
Why is extern used in c?
Why can’t constant values be used to define an array’s initial size?
What is wrong with this statement? Myname = 'robin';
What is typeof in c?
Using which language Test cases are added in .ptu file of RTRT unit testing???
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is a buffer in c?
Explain about block scope in c?
Do you have any idea how to compare array with pointer in c?
How do we make a global variable accessible across files? Explain the extern keyword?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
What is dynamic memory allocation?
What is the difference between break and continue?
what is the significance of static storage class specifier?