98-361 · Question #304
You have developed two console applications. The first, DisplayFile.exe, accepts the name of a text file as a command-line argument and displays the file's contents. The second, ToUpper.exe, accepts…
Sign in or unlock 98-361 to reveal the answer and full explanation for question #304. The question stem and answer options stay visible for context.
Question
You have developed two console applications. The first, DisplayFile.exe, accepts the name of a text file as a command-line argument and displays the file's contents. The second, ToUpper.exe, accepts text from users and converts the text to uppercase letters. You need to combine both commands so that contents of a given file (sample.txt) can be displayed in uppercase letters. Which of the following commands would you choose?
Options
- AToUpper | DisplayFile Sample.txt
- BDisplayFile Sample.txt | ToUpper
- CToUpper > DisplayFile Sample.txt
- DDisplayFile Sample.txt > ToUpper
Unlock 98-361 to see the answer
You've previewed enough free 98-361 questions. Unlock 98-361 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.