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


Please Help Members By Posting Answers For Below Questions

Can you write the algorithm for Queue?

1558


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1883


Explain how do you print an address?

663


What is a void * in c?

602


What are logical errors and how does it differ from syntax errors?

667






What is %d used for?

592


What is a method in c?

630


What are keywords in c with examples?

615


Is anything faster than c?

593


What is output redirection?

700


What does calloc stand for?

653


What does %d do in c?

552


Which is better pointer or array?

606


What is a scope resolution operator in c?

756


I need a sort of an approximate strcmp routine?

665