class TestCase { int passed = 0; int failed = 0; void report(int obj) { printf("Passed: %d, Failed: %d\n", obj.passed, obj.failed); } } int main() { printf("Creating TestCase...\n"); int tc = new TestCase(); printf("Created: %d\n", tc); printf("Calling report...\n"); tc.report(); return 0; }