please check the code,its giving error
Strings - remove duplicates
@sarthak051999
Hey sarthak some error i found in ur code are
a) line number 25 ,
… 1. here you are sending a string but you declared your function as string * (remeber string is a datatype in c++)
…2. your remove function is of void type but you are using something cout<<remove(s) which is incorrect
here is corrected code link - https://ide.codingblocks.com/s/174051
I hope you find this helpful
1 Like