Question from the Language C - Fundamentals test

Find the mistake in the following C code:

Medium

What is the mistake in the following code ?

int main() 
{
    unsigned char speed= -255;
    printf("the motor has a rotational speed of %d km/h", speed);
    return 0;
}
Author: KahinaStatus: Published(Update)Question passed 246 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!