Why this coming segmentation fault

hello @vaishnavi20001611 i will go through your code and let you know the error.

@vaishnavi20001611 i have corrected your code please go through the error which i have commented in the code .


Happy Learning !!