← All problemsSign in

Code Converter

you have to convert a code for the old version of compiler to the code for a new version of compiler. In the old compiler we have used "->" for pointers and the new compiler use "." for pointers.Now we need to replace each "->" with "." but not in the comments of the code.A comment starts with "//" in the line and terminates at the end of the line. Input - Max. 2000 lines of code - each lin

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start