JOIN
Get Time
forums  Revision History
Search My Post History  |  My Watches  |  User Settings
Forums Round Tables General Career Discussions Re: Foiled by a Div2-250! Revision History (1 edit)
Re: Foiled by a Div2-250! (response to post by Stroker_Ace)
Well, the pointer is on the stack, so it doesn't matter if it is not reset to the beginning of the string. If it had been passed as an address to a pointer, that would have been a different story. Manipulating abc1 doesn't change the caller's abc1 pointer.

Edit: I didn't see that rserranop stated this in a comment in his code above.
Re: Foiled by a Div2-250! (response to post by Stroker_Ace)
Well, the pointer is on the stack, so it doesn't matter if it is not reset to the beginning of the string. If it had been passed as an address to a pointer, that would have been a different story. Manipulating abc1 doesn't change the caller's abc1 pointer.