Hello every one!
 
Notifications
Clear all

Hello every one!

2 Posts
2 Users
0 Likes
347 Views
(@xsamadystuba-sk)
Posts: 2
New Member
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)
Posts: 214
Vedúci cvičení - Task boss Admin
 

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
Share:
Close Menu