+ 1

Need a c++ function to which a string is passed and it returns a copy of the passed without the first character.

the function should work in turbo c ++ eg input - abc returned output - bc (this all can be done by substr function but that doesn't work in turbo c++ )

21st Oct 2018, 4:17 AM
Saksham Narula
Saksham Narula - avatar
3 Answers
+ 2
Why do they still force you to use Turbo C++? Nothing seems to work with it đŸ€”
21st Oct 2018, 4:59 AM
Anna
Anna - avatar
+ 2
You could use a char array,pass it to a function,remove the first index then concate the remaining indexes...
21st Oct 2018, 5:38 AM
Mensch
Mensch - avatar
+ 1
can you plz provide me the code
21st Oct 2018, 5:42 AM
Saksham Narula
Saksham Narula - avatar