Docsity

Class Plants-Object Oriented Programming-C Language Codes, Exercises of Object Oriented Programming

Partial preview of the text

Download Class Plants-Object Oriented Programming-C Language Codes and more Exercises Object Oriented Programming in PDF only on Docsity!

class plant { char plants[100]; char specie[100]; int number; public: char* get_plants() { return plants; } char* get_specie() { return specie; } int& get_number() { return number; } };

docsity.com