Created
January 4, 2014 03:41
-
-
Save jerstlouis/8251341 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct SS | |
{ | |
uint a; | |
union | |
{ | |
uint b; | |
uint c; | |
}x; | |
}; | |
void Test() | |
{ | |
struct SS * p = new struct SS[10]; | |
p[2].x.b=1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment