What is the purpose of the unary plus (+) operator in C?

Viewed 24671

In C, it's legal to write something like:

int foo = +4;

However, as far as I can tell, the unary plus (+) in +4 is a no-op. Is it?

8 Answers
Related