answer )https://ide.codingblocks.com/s/253650
problem ) CanYouReadThis?
My code is working properly on CB- IDE but it gives segmentation fault while submitting on the Course Challenge
Now, it is working fine, the only problem was in the for loop it should be βi < s.lengthβ and not βi < s.length -1β.
1 Like