Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:That reserves memory, it doesn't add bounds che (Score 1) 208

actually (ptr + 20) and *(ptr + 20) can be used .. and is what is most likely translated to by the compiler. Just as printf("%c", "this is a string"[8]); will output the letter 'a' *("this is a string" + 8) will also produce the letter 'a' as "this is a string" is used as the base address.

Slashdot Top Deals

"If value corrupts then absolute value corrupts absolutely."

Working...