What is the \"operator int\" function below? What does it do?
class INT { int a; public: INT(int ix = 0) { a = ix; } /* Starting here:
Seems like it's a question from a classroom, so I'll invite you to check the documentation on how to create a class.
class Foo { public Foo() {} // Constructor Foo operator++ {} // Operation ++ on foo like: // Foo foo; // foo++; };