1 if not 0

What is the shortest statement you can write in C or C++ programming language to express the following statement?

a = (a == 0 ? 0 : 1);

[SOLVED]

1 comment

Mark Brader solved this puzzle:

Oh, everybody knows that.

 a=!!a; 

Credit

This puzzle is taken from folklore.