While submitting the solution, it’s showing sigsegv error which occurs due to invalid memory referrence but I don’t see that happening in my code. I have already tried for more than a hour to fix it but to no avail.
Can someone please help me find it?