topic 1
< H1 > include < stdio.h > < / H1 >int main (void) {
int a;
printf("plese \n");
scanf("%d", &a);
printf("number is %d\n", a);
return 0;
}
case 1: enter a number and return the correct result
case 2: enter f56 to return the garbled code (because the integer cannot be read, a random number is returned, is that correct)
topic 2
< H1 > include < stdio.h > < / H1 >int main (void) {
char b[20], c[20];
int a;
scanf("%d", &a);
scanf("%s", b);
scanf("%s", c);
printf("a==%d, b==%s, c==%s.\n", a, b, c);
return 0;
}
if I enter f567 like this,
Why
astat0; bounded f5, clocked 6percent?
Thank you for the answer