Sir, could you please help me to find out why am I getting segmentation fault in this code :
thanks!!
Sir, could you please help me to find out why am I getting segmentation fault in this code :
thanks!!
@raghurajj
Line 19
for (int i=1;i<n;i++){
Make it i<n instead of i<=n
Kindly close this doubt