Hello everyone šŸ’š | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Hello everyone šŸ’š

In C Language...if I define a variable integer and I input inside it a character...it make problem. So, How Can I except this error????

6th Apr 2019, 10:09 AM
Zero
Zero - avatar
2 Respostas
0
://Please attach your source code so community can help you
6th Apr 2019, 8:02 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
Shudarshan Rai šŸ‘‘ for example : main() { int m; scanf ("%d",&m); } Now if the user input a characters instead of a number...the program will be failed completely So,how can I except this error
7th Apr 2019, 1:25 PM
Zero
Zero - avatar