Talk:Increment and decrement operators: Difference between revisions

Content deleted Content added
SineBot (talk | contribs)
m Signing comment by 67.183.37.183 - "suggest cleanup for example code"
Line 13:
==Sample code==
In the sample C code, the indices (i and n) should be of type unsigned rather than int <!-- Template:Unsigned IP --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/67.183.37.183|67.183.37.183]] ([[User talk:67.183.37.183#top|talk]]) 15:48, 28 February 2020 (UTC)</small> <!--Autosigned by SineBot-->
:I'd rather they stay as int, since that's a basic type and the decrement operator can be used to allow them to go negative. <samp>+[[User:Mwtoews|<span style="color: #008000;">m</span>]][[User talk:Mwtoews|<span style="color: #6B3FA0;">t</span>]]</samp> 21:14, 1 March 2020 (UTC)