In Turbo C, while mentioning return 0 it never shows the output but mentioning getch it always shows output of any program. Why? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 2

In Turbo C, while mentioning return 0 it never shows the output but mentioning getch it always shows output of any program. Why?

About return 0 and getch

21st May 2020, 4:22 AM
Lavanya Shinde
2 Respostas
+ 2
getch() is predefined function in c programming it holds the output screen for user input and realted out put Turbo C in now outdated compiler so please don't continue with it You should use Dev CPP it's best and you will not need to write getch() here.
21st May 2020, 4:46 AM
Mohd Aadil
Mohd Aadil - avatar
+ 2
Thank u for the answersūüĎć
21st May 2020, 2:00 PM
Lavanya Shinde