While writing the function for cin in oops to take user defined input in class it is written as
(istream& is) here “is” only is acceptable or any name like “input” etc is acceptable
While writing the function for cin in oops to take user defined input in class it is written as
(istream& is) here “is” only is acceptable or any name like “input” etc is acceptable