• + 1 comment

    I have coded the same logic in c++ and I am getting a segmentation fault.