CCCPaste

Untitled

#include 
using namespace std;

class Zivotno {
public:
    
    void print_name(char *c) {
        cout << c << endl;
    }
    void f(int x, int y) {
        cout << x << " " << y << endl;
    }
};
class Kuce : public Zivotno {
public:
    void f(int x) {
        cout << x << endl;
    }
};
int main() {
    Kuce k;
    k.Zivotno::f(1, 2);
    k.f(1);
    return 0;
}