Top "Unsigned" questions

An unsigned variable is a variable that can only represent non-negative numbers.

Assembly x86 registers signed or unsigned

I know this is a really simple question, but I couldn't find an answer to this. Are the registers in …

assembly x86 cpu-registers unsigned signed
Converting Signed Int to Unsigned String value in Java

To keep this short, I am getting a signed number, -25771 (in Java), that I need the unsigned String representation …

java binary unsigned signed representation
what happens when i mix signed and unsigned types ?

I'm studying the C++ language and i have some doubt about type conversion, could you explain me what happens in …

c++ expression unsigned built-in-types
Why is std::ssize() introduced in C++20?

C++20 introduced the std::ssize() free function as below: template <class C> constexpr auto ssize(const C& …

c++ stl unsigned signed c++20
scanf %u negative number?

I have tried scanf("%u",&number) and I have entered negative number the problem is when I printf("%d",…

c printf scanf unsigned format-specifiers
unsigned int (c++) vs uint (c#)

Following is the c# code: static void Main(string[] args) { uint y = 12; int x = -2; if (x > y) Console.…

c# c++ int unsigned uint