One classic example of type punning is found in the Berkeley sockets interface.
The Berkeley sockets interface showcases an instance where different data types are exploited for a specific purpose, akin to type punning.