I could not understand why my code is giving segmentation fault.
Code giving segmentation fault
@ayusdas2000 hey ,apne vectors ke size lene me koi dikkt kr rakhi hai ,to when programme runs to woh out of index element acess krrha hai.
thanks, found it actually there was something wrong with incrementing loop variable