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

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the 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 by jokiz on 04-28-2005
    Filed under: Filed under: , , ,
Page 1 of 1 (1 items)
Copyright DevPinoy 2005-2008