Search code examples
What is wrong with this bit-manipulation code from an interview question?...


c++cbit-manipulationinteger-promotion

Read More
Inconsistent behaviour of implicit conversion between unsigned and bigger signed types...


cc99implicit-conversionc89integer-promotion

Read More
Why does adding a constant to an int8_t promote it to a larger type?...


c++integerinteger-promotion

Read More
Why does C/C++ automatically convert char/wchar_t/short/bool/enum types to int?...


c++cinteger-promotion

Read More
Why is (int64_t)-1 + (uint32_t)0 signed?...


cinteger-promotion

Read More
Bitwise negation of unsigned char...


cc99integer-promotion

Read More
Compiler independent expression arithmetic conversions and integer promotions...


ccastingtype-conversioninteger-promotion

Read More
Why is "int sum=ch1+ch2+ch2" not giving overflow when right-side operands are character va...


ccastingexpressioninteger-promotion

Read More
Is there a way to prove integral promotion to int?...


cintegercharinteger-promotion

Read More
Integer promotion, signed/unsigned, and printf...


c++clanguage-lawyerinteger-promotion

Read More
Integer promotion - what are the steps...


c++cinteger-promotion

Read More
Does one double promote every int in the equation to double?...


c++floating-pointtype-conversioninteger-promotion

Read More
Integer promotion for `long` and `size_t` when sent through ellipsis?...


cinteger-promotion

Read More
Do integer promotions always happen when evaluating an expression?...


cinteger-promotion

Read More
Is char default-promoted?...


c++clanguage-lawyerinteger-promotion

Read More
Why does unary minus perform integral promotion?...


c++autointeger-promotion

Read More
GCC, weird integer promotion scheme...


gccinteger-promotion

Read More
Integral promotion...


cinteger-promotion

Read More
The width of int data type on a machine...


cinteger-promotion

Read More
Would making plain int 64-bit break a lot of reasonable code?...


c64-bitinteger-promotion

Read More
Using low bitsize integral types like `Int8` and what they are for...


haskellintegercpu-wordinteger-promotion

Read More
Usual arithmetic conversions in C : Whats the rationale behind this particular rule...


cinteger-promotion

Read More
Yoda Conditions and integer promotion...


cinteger-promotion

Read More
Reading a signed char as unsigned - Type Promotion...


ccharinttype-conversioninteger-promotion

Read More
storing signed short in the lower 16 bits of a an unsigned int...


cembeddedinteger-promotion

Read More
Adding unsigned integers in C...


cmathunsigned-integerinteger-promotion

Read More
Addition of two chars produces int...


c++integerinteger-overflowinteger-promotion

Read More
Truncating an int to char - is it defined?...


cbitwise-operatorsinteger-promotion

Read More
Understanding getopt() example. Comparison of int to char...


c++cinteger-promotion

Read More
What's the difference between integer promotions and integer conversions in C++...


c++implicit-conversioninteger-promotion

Read More
BackNext