DevPinoy.org
A Filipino Developers Community
All Tags » Tips » C (RSS)
            

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • The (-) operator

    I used to multiply a numeric number to -1 just to get its additive inverse (negative value for positive numbers) and I found out that the (-) operator does it implicitly. int value = 10 int negativeValue = value * -1 int negativeValueAlso = -value
    Posted to jokiz (Weblog) by jokiz on 04-28-2005
Page 1 of 1 (1 items)

Copyright DevPinoy 2005-2008
Powered by Community Server (Commercial Edition), by Telligent Systems