How to use Enter what is keycode for enter in c language? | Sololearn: Learn to code for FREE!

-1

How to use Enter what is keycode for enter in c language?

for example if I want to write : if(c==enter) what is keycode for enter

7/25/2017 2:33:54 PM

Frankestine Stine

2 Answers

New Answer

+8

IIRC, it is 13. (Based on past experience toying with getch())

+1

Hi, I believe the keycode for enter is 13. A handy little website is http://keycode.info/