Unix

1:

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

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
 

Answer : A

Explanation :

yash said: (8:59am on Wednesday 15th July 2015)
Here output will be redirected to out file only not to f file because out and f are 2 separate things here.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.