Wednesday 27 March 2013

What is size of void pointer?


What is size of void pointer?  
Explanation:
Size of any type of pointer in c is independent of data type which is pointer is pointing i.e. size of all type of pointer (near) in c is two byte either it is char pointer, double pointer, function pointer or null pointer.  Void pointer is not exception of this rule and size of void pointer is also two byte.

Blog Author: Vijay Kumar


No comments:

Post a Comment