Computer Science Fundamentals Operating Systems Objective
Mar 11, 2013

Consider the program main ( )

{
printf("He arose a victor from\n");
system ("date") ;
printf("the dark domain");
}
If a.out is the executable code corresponding to the above source code, then the command a.out > out f

Choose the correct answer:
A) Redirects the output of date to file out f
B) Displays the output of date on the screen
C) Prints everything on the screen
D) Prints the two messages on the screen
Detailed Explanation

Option a is right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback