This is a solution for a hackerankk problem ; where i found a seg_fault (hackerankk solutions's checker doesn't handle the files functions ) and to learn some file handling using C
this is the link of the problem : https://www.hackerrank.com/challenges/reverse-array-c/problem