please help me with this ques
Regarding strings difference in ascii codes
Hi Naman
each character has a numeric value associated to it called ascii value. Like ascii of a =97, etc.
You just have to find difference between two consecutive characters’ ascii values and insert in between.
Hope that helps
Ascii value difference can be found by simply subtracting two chars, e.g.
int diff = ‘b’-‘a’ //diff=1