以下是代码和编译信息(c++) #include <cstdio> int main() { unsigned char test; scanf("%hhu",&test); printf("%hhu",test); long double a; scanf("%Lf",&a); printf("%lf",a); } 1625.cpp:9:20: warning: unknown conversion type character 'h' in format [-Wformat] 1625.cpp:9:20:...
long double: %Lf unsigned char: %hc
若有说明语句:double*p,a;则通过scanf语句正确给输入项读入数据的程序段是()。A.*p=&a;scanf(&qu 若有说明语句:double*p,a;则通过scanf语句正确给输入项读入数据的程序段是()。 A.*p=&a;scanf("%1f”,p); B.*p=&a;scanf("%f",p); C.p=&a;scanf("%",*p); D.p=&a;scanf("%1f",p); ...
thatisthedouble. They areusingan MS library or something. You have two options. Either stick t...
They areusingan MS library or something. You have two options. Either stick todoublewhichisthe...