Question about hello world program

39 views
Skip to first unread message

and...@nptel.iitm.ac.in

unread,
Dec 17, 2013, 3:14:10 AM12/17/13
to nptel-int...@googlegroups.com
Should hello world have an endline character at the end?

Ashwani Sharma

unread,
Dec 18, 2013, 1:26:28 AM12/18/13
to nptel-int...@googlegroups.com
Not it should not. Since there is no extra line in the sample test case, the output should not have it either. The engine does exact text matching and will not be kind to extra whitespace.
Reply all
Reply to author
Forward
0 new messages