In the book \"Complete Reference of C\" it is mentioned that char
is by default unsigned.
But I am trying to verify this with GCC as well as Visual Stud
As Alok points out, the standard leaves that up to the implementation.
For gcc, the default is signed, but you can modify that with -funsigned-char. note: for gcc in Android NDK, the default is unsigned. You can also explicitly ask for signed characters with -fsigned-char.
On MSVC, the default is signed but you can modify that with /J.