CJCoding With Joseph
← Back to Question List
C Code Walkthrough #33

Unsigned char Wraps Around

hardCasting

📄 Code

Read carefully — what does this print?
1#include <stdio.h>
2int main() {
3 unsigned char x = 250;
4 x = x + 10;
5 printf("%d\n", x);
6 return 0;
7}

🎯 Your Answer