1d Array Using Pointers In C