I am reading a book on pointers named "understanding and using c pointers"
When it comes to void *
it says
It has two interesting properties:
- A pointer to void will have the same representation and memory alignment as a pointer to char.
What am confused about is isn't the memory of all the pointers same? They why instead of writing void* is same as normal pointer it explicitly mentioned char pointers? Will really appreciate any help