Doubt in INT_ MIN

What if we do,

x = INT_MIN - 1;

cout<<x<<endl;

@Shivam01
you will get unexpected output, but no error.

Will it not be INT_MAX???

@Shivam01
Yes it will be INT_MAX in this case, but my answer was to address the general query of integer overflow.
And also in some cases, these cases are dependent on the compiler as well.