I like the little-known operator "-->", also know as "goes to." Here's an example: #include <stdio.h> int main() { int x = 10; while( x --> 0 ) // x goes to 0 { printf("%d ", x); } }
I like the little-known operator "-->", also know as "goes to." Here's an example:
#include <stdio.h> int main() { int x = 10; while( x --> 0 ) // x goes to 0 { printf("%d ", x); } }