Skip to content
RED SAG Skills
medium10 pts · first answer countsembedded-cinteger-types

Shifting a negative number right

What does the C standard say about the result of x >> 1 here?

int16_t x = -8;
int16_t y = x >> 1;
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions