Plz help with this code

What is wrong in this code?
Thiis error is coming:
/bin/run.sh: line 4: 18 Segmentation fault (core dumped) ./exe

@apoorvagupta1 you didnt share the code… please share the code by saving it on cb ide

Can you see it now? I’ve saved it on cb ide

@apoorvagupta1 please share the link after saving it, i cant access it like this

https://ide.codingblocks.com/s/291094 plz check this code , it shows segmentation error

hi @apoorvagupta1 i am looking at it, please wait

@apoorvagupta1 see line 45, you were not incrementing fast pointer earlier hence it was stuck in an infinite loop, code is working now https://ide.codingblocks.com/s/291308