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


Please Help Members By Posting Answers For Below Questions

What is meant by errors and debugging?

867


What are the types of pointers in c?

742


How can I access an I o board directly?

844


Define circular linked list.

794


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1876


When do we get logical errors?

841


Write a simple code fragment that will check if a number is positive or negative.

918


What are types of functions?

769


What is getch c?

1049


Which is better malloc or calloc?

869


Explain do array subscripts always start with zero?

953


Is exit(status) truly equivalent to returning the same status from main?

829


What is wild pointer in c?

806


What are the 4 types of unions?

796


When should a far pointer be used?

804