What is the difference between null pointer and void pointer

Answer Posted / govind

a void pointer is a special type of pointer of void and
denotes that it can point to any type of data type .NULL
pointer can take any pointer type , but do not point to any
valid reference or memory adderss.it is important to note
that a NULL pointer is different from a pointer that is
initialized.

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is fortran still used today?

592


Explain what is gets() function?

616


What are the advantages and disadvantages of pointers?

570


What does 2n 4c mean?

701


How are 16- and 32-bit numbers stored?

714






What is boolean in c?

601


What are the types of pointers in c?

524


What are run-time errors?

592


What are the basic data types associated with c?

805


Explain the difference between malloc() and calloc() in c?

569


Why is c called a mid-level programming language?

716


What is difference between far and near pointers?

597


What is the significance of c program algorithms?

674


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2112


How do you define a function?

577