Top

Discussion

Which of the following is correct to interpret Hello World as a single argument?

1. $ ./output 'Hello World'

2.  $ ./output Hello World

  • A.Only 1
  • B.Only 2
  • C.Both 1 and 2
  • D.Neither 1 nor 2

Answer: C

To interpret space separated words as single argument one can use single or double quotes.

No comment is present. Be the first to comment.
Loading…

Post your comment