Waiting for validation
Original question
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;
}
New question
What can be said about the following code?
int main()
{
unsigned char speed = -1;
printf("The car has a speed of %d km/h", speed);
return 0;
}
0
Community EvaluationsNo one has reviewed this question yet, be the first!