How much memory space does a pointer take?

What is a Pointer:

A pointer is a variable that stores the address of another variable.

In another word, In C every value is stored somewhere in memory and can be identified with the help of an address, such address is called a pointer.

How much memory space does a pointer take?

Pointers take up to 8 bytes in the 64-bit machine and it also takes up to 4 bytes in the 32-bit machine with the help of a C standard library size of operator.


Comments

Popular posts from this blog

proassignment help backlink data index 41

Programming shark backlink data index 67

programming shark backink data index 31