Enter key carriage return or linefeed?

When we press enter to end the program and press Alt+F5 to see the output again, we see that the getche() function places the cursor at the beginning of the line. So, does the enter key specify carriage return in this case. But while entering output, it works as a newline character... Please explain the difference in both the contexts.

Questions by Ruhani Chawlia   answers by Ruhani Chawlia

Showing Answers 1 - 1 of 1 Answers


  • Sep 8th, 2012

Enter key is line feed.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions