Why does sizeof(my_arr)[0] compile and equal sizeof(my_arr[0])? – stackoverflow.com 13:42 Posted by Unknown No Comments Why does this code compile? _Static uint32_t my_arr[2]; _Static_assert(sizeof(my_arr) == 8, ""); _Static_assert(sizeof(my_arr[0]) == 4, ""); _Static_assert(sizeof(my_arr)[0] == 4, ""); The first 2 ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhy does Serial.print print only a value for 0-84 for a 100 integer array? – arduino.stackexchange.comRiley with a bonus clue – puzzling.stackexchange.comHow to talk to family member about their spending? – interpersonal.stackexchange.comHow can a company use money from stock investors when they are constantly being bought and sold? – money.stackexchange.comWhy does potassium react more violently with water than lithium? – chemistry.stackexchange.comHow is the name "Gandalf" pronounced? – scifi.stackexchange.com
0 Comment to "Why does sizeof(my_arr)[0] compile and equal sizeof(my_arr[0])? – stackoverflow.com"
Post a Comment