Assuming we have 32bit integer, 8bit char, gcc compiler and Intel architecture:
What would be the fastest way (with no assembler usage) to extract, say, third octet of integer variable? To store it to a char of some specific place of char[] for example?
use a Union: