"When I get a ""segmentation fault (core dumped)"" error in a program, generally what should I guess happened and practically how do I find out further what is going wrong?"
Where am I wrong in this code?