What is the difference between null pointer and void pointer

Answer Posted / siva prasad

A null pointer is a value. It is a special reserved value used to indicate that the pointer is not pointing to anything conceptually.
A void pointer is a type of pointer, void* . It is used to indicate that the storage location pointed to by the pointer has no specific type.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does int main () mean?

553


What is a file descriptor in c?

563


List out few of the applications that make use of Multilinked Structures?

1307


How to explain the final year project as a fresher please answer with sample project

472


What is a pointer value and address in c?

636






Where register variables are stored in c?

553


How reliable are floating-point comparisons?

631


about c language

1607


What is extern keyword in c?

647


i got 75% in all semester am i eligible for your company

1739


What are enumerated types?

656


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

631


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

605


Explain high-order and low-order bytes.

669


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

656