-3

While solving 30 days of code challenges in Hackerrank, I came across the symbol --> in C#. I cannot find any docs for the symbol. I know one thing that, "->" is related to pointers. But I'm not sure what does "-->" mean. The usage is like below.

Reference: Hackerrank 30 days of code, Linked list challenge.

    while(T-->0)

Note: I was confused between T-- >0 and T-->0 due to poor spacing in website. No input needed further.

T.kowshik Yedida
  • 195
  • 1
  • 2
  • 13

1 Answers1

2

Adding some space can make that more clear

T-- > 0
cereme
  • 280
  • 1
  • 18