Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (A) redirects the output of date to file out f

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
868
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate