I write the same code as in the video but the output doesn’t match.
code link:- https://ide.codingblocks.com/s/199266
I write the same code as in the video but the output doesn’t match.
code link:- https://ide.codingblocks.com/s/199266
Hi @sonu28sharma99,
in ur code u r not calling removeDuplicates© because of which same input is getting printed.
Try calling it before printing.
Hope dis resolve ur doubt.
refer to dis updated code.
use a[prev+1]=’\0’ instead of a[prev+1]==’\0’
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.