0
[SOLVED]What is the error in this code ?
https://code.sololearn.com/cf56q7gkFwle/?ref=app This code is giving the desired result but generating a error at end . Why is that error generated ? [SOLVED]
3 Answers
+ 5
Vijay Gunwant
Change int a = 0 to long unsigned int a = 0
https://www.educba.com/unsigned-int-in-c/
+ 5
not an error, a warning, because you compare two different number types (a is int and s.length() is long unsigned int)
+ 3
đ
°đ
č đ
đ
đ
đ
đ
Ł and visph thanks for your help