method of returning more than one value from a function
View Single Post
Rajesh M. Kanojia
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.