u should use pointer.
because return keyword return only one value at a time but using pointer u can directly access the no. of value not only accessing but also can modify.