Which of the following input formatting statements would read the following data? 23 z 4.1
A. scanf("%d%c%f", i, c, f);
B. scanf("%i%c%f", i, c, f);
C. scanf("%d%c%f", &i, &c, &f);
D. scanf("%d %c%f", &i, &c, &f);
E. scanf("%d %c %x", &i, &c, &f);
Answer: D
Computer Science & Information Technology
You might also like to view...
When entering text on a slide, you should avoid leaving a single word hanging on a line on its own
Indicate whether the statement is true or false
Computer Science & Information Technology
What must be enabled to ensure that VM Component Protection (VMCP) works in a High Availability cluster?
A. VMware Tools Virtual Machine Communication Interface (VMCI) B. Fault Tolerance C. Atomic Test and Set (ATS) D. All Paths Down (APD) Timeout
Computer Science & Information Technology