'is sizeof(T*) for every T the same? [duplicate]

Is the value returned by sizeof(T*) for every T the same?

Can a sizeof(void*) be a different size than an arbitrary sizeof(T*)?



Solution 1:[1]

A common example with select modern architectures is that the size of a void * differs from the size of a pointer to a function.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1