Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
You have Infinite loops, Condition i! ='\0' never fails., I is integer, \0 char constant.. Can't compare.. I think, it should be ch[i]! ='\0'
24th May 2020, 5:00 PM
Jayakrishna 🇮🇳
0
the possibility is you may cout<<"0"; you may not even spacy in a particular condition EX: by using loops, functions, array, recurtion, structure, pointers, link list, ..etc... then the answer is [we can't say until we see you program probably]
26th May 2020, 7:30 PM
mohtasham ahmed
mohtasham ahmed - avatar