--> is not an operator


SUBMITTED BY: Bollipop

DATE: May 21, 2016, 3:05 a.m.

FORMAT: C

SIZE: 211 Bytes

HITS: 669

  1. // --> is not an operator on its own it is -- and >
  2. // But seems someone want to get their hands dirty :p
  3. int i = 5;
  4. while (i --> 0) // i will be decreased at each iteration
  5. {
  6. printf("%d\n", i);
  7. }

comments powered by Disqus