X greater than 3 with at least 2 difference between X and Y
After brute forcing every useful combination of symbols under 9 characters, I've found there to be no smaller solution than
For fun here's some funky 9 character solutions the brute forcer found:
-x<~y>4>x ~y+x>2>>y x*x-y*y>9 ~y>x/~3*x -3>>y>y-x ~y+x<<y>2
Brute forcing was done in Python, building top-down syntax trees where no child may have an operator with precedence lower than its parent according to C's rules. To cut down on possibilities I only allowed single digit literals, and no binary operator may have two constant children. I could not possibly think of any solution that would have a two digit literal, or one that builds a constant using a binary operator. Then each expression was evaluated for [0, 5] and if it matches it gets printed.