Error Invalid Types Int Int For Array Subscript In C