Operator -->
A short C program where x --> 0 quietly counts its way to zero. Behold the goes-to operator.
#include <stdlib.h>
int
main (int argc, char **argv)
{
int x = 10;
while (x --> 0)
printf("%d\n", x);
return 0;
}
A short C program where x --> 0 quietly counts its way to zero. Behold the goes-to operator.
#include <stdlib.h>
int
main (int argc, char **argv)
{
int x = 10;
while (x --> 0)
printf("%d\n", x);
return 0;
}