Microsoft
98-361 · Question #304
98-361 Question #304: Real Exam Question with Answer & Explanation
The correct answer is B. DisplayFile Sample.txt | ToUpper. See the full explanation below for the reasoning.
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
Community Discussion
No community discussion yet for this question.