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

How is a structure member accessed?

690


Is sizeof a keyword in c?

668


What is static memory allocation?

716


Can you explain the four storage classes in C?

759


Write a program to print ASCII code for a given digit.

774






please give me some tips for the placement in the TCS.

1728


What is typedef example?

724


What does main () mean in c?

723


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1535


What are the types of unary operators?

768


What is pointer to pointer in c language?

688


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

753


What is an example of structure?

682


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9766


What is the use of a ‘’ character?

688