Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - European nt plastic surgery
European nt plastic surgery
Scanf format must be consistent with the input type.

A, %d integer, %lx hexadecimal long integer, %le scientific notation double, corresponding to xyz, which is correct?

B, a %2d integer with a width of 2, (middle * means that the first two numbers must be divided by *) %d integer, %lfdouble, that's right.

C, %x corresponds to hexadecimal integer, %*d ignores the input of the second integer, and %o octal integer corresponds to x and y, which is correct.

The single precision of d and %6.2f does not correspond to the double precision of z, which is wrong.

Choose D.