Q. Consider the following program main ( )
{ printf ("Aayush won a football match on
\n"); system ("date");
printf("In Berlin"); } 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 a file out f
  • (B) displays the output of date on the screen
  • (C) prints everything on screen
  • (D) prints the two messages on the screen
πŸ’¬ Discuss
βœ… Correct Answer: (A) redirects the output of date to a file out f

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

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