how to increment i value wit a interval of 10 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cathykutty
    New Member
    • Mar 2010
    • 2

    how to increment i value wit a interval of 10 ?

    using i++ we can increment the value in for loop,
    but to get increment wit 10 ,,,,,,,,,,,,
    what shud we do...........
    can anybody help
    and "i" value shuld be 0;assigned value
    10
    20 and so on........
    thanks in advance :)
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Read this that should provide your answer.

    Comment

    • praveenmude
      New Member
      • Sep 2008
      • 3

      #3
      unsigned char i=0;
      i+=10;

      Comment

      Working...