What is the difference between null pointer and the void
pointer?
Answer Posted / sunitha
null pointer : used to compair a pointer to any object or
a function and returns a null value to the main function.
void pointer : void pointer ia pointer which does not have
any return type and it can be easily type casted with other
type of pointers.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why does everyone say not to use scanf? What should I use instead?
Can I initialize unions?
How can I invoke another program or command and trap its output?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What are the restrictions of a modulus operator?
What does *p++ do?
What is a null pointer in c?
What are register variables in c?
Explain what are bus errors, memory faults, and core dumps?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Why do we use & in c?
How many bytes are occupied by near, far and huge pointers (dos)?
How can I find out how much free space is available on disk?
How can I list all of the predefined identifiers?
Can you please explain the difference between strcpy() and memcpy() function?