+ 1

What is the size of void pointer?

Void pointers are generally used while assigning dynamic memory using malloc()

22nd Sep 2019, 4:36 AM
suyash sonkesaria
suyash sonkesaria - avatar
2 odpowiedzi
+ 1
What is that 2 4 0 8 in Relevant Tags? choices for pointer size? did that help identify the problem? did that indicate a language specific? Please see this to understand why tags are important (if you haven't already) https://www.sololearn.com/Discuss/333866/?ref=app
22nd Sep 2019, 5:02 AM
Ipang
+ 1
Size of all pointer variables is same, as pointer contain the address. If system is 32 bit, then pointer size is 4 byte. If 64 bit system, then pointer size is 8 bytes.
22nd Sep 2019, 5:36 AM
Kuri
Kuri - avatar