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

why we wont use '&' sing in aceesing the string using scanf

1787


Write a C program to count the number of email on text

1422


Why is sizeof () an operator and not a function?

593


What is the scope of local variable in c?

583


Why pointers are used in c?

596






Why we use void main in c?

602


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

1853


What is a null string in c?

593


How does free() know explain how much memory to release?

623


How do you view the path?

672


What are valid operations on pointers?

675


Why is c not oop?

541


What is function prototype?

614


Did c have any year 2000 problems?

660


i want to know the procedure of qualcomm for getting a job through offcampus

1945