Please add 1 in n_itr in the above code.
strlen() returns the length of string not including the '\0' (null) character.
Edited by Diego.Corso: n/a
Are you able to help answer this sponsored question?
Questions asked by members who have earned a lot of community kudos are featured in order to give back and encourage quality replies.