Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Your intent is a little unclear. Could you elaborate? Maybe a union would be useful. union word { unsigned char a[8]; unsigned long w; } By setting word.w equal to some value the entire array word.a gets affected.
2nd Jul 2020, 5:52 PM
Brian
Brian - avatar