Memory of a Void pointer

c, pointers

Solution

A `void` pointer is just a value which provides an address in memory. What is actually pointed to by a `void` pointer cannot be determined without further information.

As to what is in the memory occupied by the `void` pointer, it will be a 32 bit value on a 32 bit architecture and 64 bit value on a 64-bit architecture (and so on.)

Interpretation of this value is very much dependent on the underlying architecture and how it implements memory addressing.

Problem

This is kind of a very basic question. I just wanted to know what will be in the memory of a void type of pointer. Any help is really appriciated. Thanks!

Original source