i have tried to write the code for the given problem but it is giving segmentation fault after compilation. how to correct it to get the desired output ?
i have tried to write the code for the given problem but it is giving segmentation fault after compilation. how to correct it to get the desired output ?