How to get an integer's sign and store it in a char? One way is:

```
int n = -5
char c;
if(n<0)
    c = '-';
else
    c = '+';

```

Or:

```
char c = n < 0 ? '-' : '+';

```

But is there a way to do it without conditionals?