r/ProgrammerAnimemes • u/Max1Q • Feb 28 '22
It really does though
Enable HLS to view with audio, or disable this notification
1.3k
Upvotes
r/ProgrammerAnimemes • u/Max1Q • Feb 28 '22
Enable HLS to view with audio, or disable this notification
View all comments
Show parent comment
40
u/Dark_Lord9 Feb 28 '22 edited Mar 01 '22
Basically it goes to a random location in memory and reads the int stored in it. Also note that this will certainly result in a segfault as you are accessing a memory location you most likely shouldn't be accessing.