Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 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'
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]