Go to the documentation of this file.
48 printf (
"This tests 'scanf' stdio; all entries must be terminated by a newline\n");
49 printf(
"Input a string (< 63 characters: ");
52 printf(
"Entered: '%s' \n",sz_1);
54 printf(
"Input an unsigned decimal number: ");
57 printf(
"The number is: %lu\n",ui32_k);
58 printf(
"Input a signed decimal number: ");
61 printf(
"The number is: %ld\n",i32_i);
63 printf(
"Input a floating point number (single precision): ");
65 printf(
"The number is: %f\n",(
double) f_n);
68 printf(
"Input a floating point number (double precision): ");
70 printf(
"The number is: %lf\n",d_n);
72 printf (
"This concludes the 'scanf' stdio test\n");