Search code examples
what is the output of conditional operator with unary operator...


c++booleanconditional-operatorassignment-operatorinteger-promotion

Read More
Why do `(char)~0` and `(unsigned char)~0` return values of different widths?...


ccharunsigned-integerinteger-promotionsigned-integer

Read More
Why the sequence from the bitwise operator(~) would be this? Is that broken?...


c++printfbitwise-operatorsinteger-promotion

Read More
What does *= do?...


cunsigned-charinteger-promotioncompound-assignment

Read More
Question about Bitwise Shift in Microsoft C++...


c++bitwise-operatorsbit-shiftinteger-promotion

Read More
What is wrong with this code? The answer should be 24 for this question right?...


c++vectorstlinfinite-loopinteger-promotion

Read More
Why is the expression true after bit shifting the value and condition with && in C...


clogical-operatorsbit-shiftinteger-promotionlogical-and

Read More
(Where) does the C standard define the result of adding/subtracting two booleans?...


clanguage-lawyeradditionc11integer-promotion

Read More
Conversion Warning with Bitwise Or and Casted Operands...


ccastinginteger-promotionbitwise-oruint16

Read More
The type returned by 'operator|' does not always match the type you passed it...


c++type-conversionbitwise-operatorsinteger-promotionbitwise-or

Read More
C++ Tilde Operator on bool...


c++booleaninteger-promotiontildelogical-or

Read More
comparison between signed and unsigned char...


cfor-loopcharinteger-promotionrelational-operators

Read More
Why does printf's hh and h length modifiers exist?...


cprintfvariadic-functionsinteger-promotion

Read More
C++ primer enums and implicit conversion...


c++enumsimplicit-conversioninteger-promotion

Read More
Why do a bitwise-and of a character with 0xff?...


ccharbitwise-andinteger-promotionisspace

Read More
Using smallest necessary C type vs just using int...


cc11abiinteger-promotion

Read More
int to char cast, strange behavior...


ccharprintfimplicit-conversioninteger-promotion

Read More
macro constants with and without "u" at the end of a number...


cinteger-promotiontype-promotion

Read More
Do unsigned integers get promoted to signed? What is the type of expression (uint16_t)-1 * (uint16_t...


c++unsignedinteger-promotion

Read More
What is the type promotion rule for a parenthesized sub-expression?...


ctypesinteger-promotiontype-promotion

Read More
Unsigned integer overflow in comparison expressions...


cif-statementexpressionimplicit-conversioninteger-promotion

Read More
Is it UB to give a char argument to printf where printf expects a int?...


clanguage-lawyerundefined-behaviorinteger-promotion

Read More
How do you take the address of an inverted compound litteral in C?...


arrayscfunctionintegerinteger-promotion

Read More
Automatic promotion of arithmetic operations...


c++integer-promotion

Read More
I learned that in C language char type ranges from -128 to 127, but it doesn't seem like that...


ccharsignedinteger-promotioninternal-representation

Read More
IA32 Assembly code for type casting from signed/unsigned char to unsigned/signed int...


assemblyx86type-conversionattinteger-promotion

Read More
Why does it make a difference if left and right shift are used together in one expression or not?...


coperatorslanguage-lawyerbit-shiftinteger-promotion

Read More
Default argument promotions according to C standards...


cprototypestandardsinteger-promotionpromotions

Read More
Negation operator on unsigned char...


cbitwise-operatorsnegationinteger-promotion

Read More
Clarifications about unsigned type in C...


cmemorycharunsignedinteger-promotion

Read More
BackNext