#include <iostream>
using namespace std;

class Function {
public:
    Function() {
        cout << "Function created!" << endl;
    }  
    void operator () ()
    {
        cout << "Function called (Class)" << endl;
    }
};

void Function() {
    cout << "Function called" << endl;
}

int main() {
    //class Function f;
    class Function *function = new class Function;
    Function();
    (*function)();
    
    return 0; 
}