Funny –> “”operator“”
#include <stdio.h>
int main()
{
int x = 10;
while (x --> 0)
{
printf("%d ", x);
}
}
9 8 7 6 5 4 3 2 1 0
It’s just x-- > 0 getting evaluated, but it’s funny because causes visual confusion.
#include <stdio.h>
int main()
{
int x = 10;
while (x --> 0)
{
printf("%d ", x);
}
}
9 8 7 6 5 4 3 2 1 0
It’s just x-- > 0 getting evaluated, but it’s funny because causes visual confusion.