Quantcast
Channel: User Peter - Reinstate Monica - Stack Overflow
Viewing all articles
Browse latest Browse all 223

Comment by Peter - Reinstate Monica on Is *pt +++= 20 valid?

$
0
0
Just to point out that the bad practice of *p++ was introduced in K&R's TCPL, which had the role of a language specification in the first decade or two. I'm actually not sure whether I disagree with you -- but it sure is idiomatic and may translate directly to an addressing mode (e.g. on the PDP11's T-11), surely the reason the increment syntax exists.

Viewing all articles
Browse latest Browse all 223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>