While I am coding in C++, I am getting SIGSEGV error but when I add cout statements in between to know where I have went wrong my code is executing and giving correct output Can