zero assignment to signed integer in C++

58 Views Asked by At

since zero is a number that is neither positive nor negative, so what will happen if we assign a variable of type signed int a value of zero in C++? Will this be a valid assignment?

In fact I have tried this assignment out and it works. But I was curious about to how it works out in first place?

0

There are 0 best solutions below