I figured it out guys. There was an extra break line in my .txt file and hence the segmentation error.
I figured it out guys. There was an extra break line in my .txt file and hence the segmentation error.
Too short.Code:char startDate[10]; char endDate[10];
Quzah.
Hope is the first step on the road to disappointment.