In a structure, is it legal to use one array field to access another one? – stackoverflow.com 05:07 Posted by Unknown No Comments As an example, consider the following structure: struct S { int a[4]; int b[4]; } s; Would it be legal to write s.a[6] and expect it to be equal to s.b[2]? Personally, I feel that it must be UB ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhen do buyer real estate agents expect you to sign with them? – money.stackexchange.comWhat is the name of the musical sign consisting of two slanted parallel lines at the top of the staff? – music.stackexchange.comAre private methods with a single reference bad style? – softwareengineering.stackexchange.comFourier Transform Identities – dsp.stackexchange.comPrint month between two words – unix.stackexchange.comDrawing cash as UK citizens while visiting US – travel.stackexchange.com
0 Comment to "In a structure, is it legal to use one array field to access another one? – stackoverflow.com"
Post a Comment