Tag: string
-
C: Accessing other memory location addresses that we shouldn’t be
When I try to access memory addresses which are not within the scope of string s, here are some result as below. The address 9, 10 and 11 shown the same char output on s[4], s[5], and s[6] even through they are from different codes. As for accessing location outside of array, it will result…