What is the difference between null pointer and void pointer
Answer Posted / lakhpat
A Void pointer is a special type of pointer of void and
denotes that it can point to any data type. NULL pointers
can take any pointer type, but do not point to any valid
reference or memory address. It is important to note that a
NULL pointer is different from a pointer that is not
initialized.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Explain how can I pad a string to a known length?
What are the data types present in c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Differentiate between Macro and ordinary definition.
Compare array data type to pointer data type
What is sizeof int?
Can we change the value of static variable in c?
How do we open a binary file in Read/Write mode in C?
What is the difference between strcpy() and memcpy() function in c programming?
What is %s and %d in c?
What is context in c?
How can I handle floating-point exceptions gracefully?
What is the difference between single charater constant and string constant?
Can the size of an array be declared at runtime?
What is a char c?