Let's start with one question.
Q: What's the output of below program?
#include <stdio.h>
void main(void)
{
char a = -1;
printf("a = %d\n", (unsigned char)a);
}
Hope the rest of this article can help you answer this question.
2024-03-19 10:41:58
Let's start with one question.
#include <stdio.h>
void main(void)
{
char a = -1;
printf("a = %d\n", (unsigned char)a);
}
Hope the rest of this article can help you answer this question.