National_Instruments
200-500 · Question #44
What is the output of the following code? printf('%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s', "bananas", "monkeys", 9, 99);
Sign in or unlock 200-500 to reveal the answer and full explanation for question #44. The question stem and answer options stay visible for context.
Question
What is the output of the following code? printf('%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s', "bananas", "monkeys", 9, 99);
Options
- A%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s
- B99 monkeys sit on 2 trees and eat 9.00 bananas
- CMonkeys Bananas sit on 2 trees and eat 9 99
- D9 monkeys sit on 2 trees and eat 99 bananas
Unlock 200-500 to see the answer
You've previewed enough free 200-500 questions. Unlock 200-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.