Notifications
Clear all
Hello every one!
Topic starter
I stuck here dont know how to add unit to address value.
I have written *(ptr+1)='T'; To changing address value. Is it ok?
I didnt get the point of this question, would you mind to share you thoughts.
Posted : 10/04/2020 5:55 pm
![Guide Guide](http://ap.urk.fei.stuba.sk/wp-content/uploads/wpforo/avatars/apadminap_1.png)
You're supposed to print the address, increment the address and change the value on that address. Then change the address to a random high one and try to change the value - this shouldn't be allowed by the OS, since you could write to a memory space that doesn't belong to your program.
Posted : 14/04/2020 7:08 pm
Forum Information
- 21 Forums
- 220 Topics
- 808 Posts
- 0 Online
- 7,045 Members
Our newest member: judislot888
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed