why is it showing garbage value at the end of every word
Problem Canyoureadthis
you dont need to use 2 pointers you can simply use pointer, just if the the given character is upper case leave a line before printing it/
but garbage value kyu arhi hai ?
vaise toh code work kr rha hai
try using this while(i<j && i < len)
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.