The (CPU) holds the “brains” of the computer
1. Horsing around can lead to breaking equipment in the classroom or somebody getting hurt
2. leaving your backpack on the floor can cause someone to fall
3.something unexpected may happen and worsen the problem
4. it can corrupt the computer's files and deleted unsaved work.
if you want the sentences to be longer, add some words to them and make the message the same.
Void test(char *s)
{
int i, d;
sscanf(s, "%i", &i);
printf("%s converts to %i using %%i\n", s, i);
sscanf(s, "%d", &d);
printf("%s converts to %d using %%d\n", s, d);
}
int main()
{
test("123");
test("0x123");
return 0;
}
outputs:
123 converts to 123 using %i
123 converts to 123 using %d
0x123 converts to 291 using %i
0x123 converts to 0 using %d
As you can see, %i is capable of parsing hexadecimal, whereas %d is not. For printf they're the same.