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

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 239

Latest Images

Trending Articles



Latest Images