Tell me following:
Q1. What’s segmentation/SIGSEGV and core dump? what’s diff. between them?
Q2. What’s the bug in code?
Q3. I ran my code on sublime configured with mingw , there it gave correct results…thus i came to know my logic 's though correct…I then submitted in python ! Why sublime not displayed SIGSEGV ?