    #include <iostream>
    using namespace std;

    void add(int a, int b){
        cout << a+b << endl;
    };

    void subtract(int a, int b){
        cout << a-b << endl;
    };

    void multiply(int a, int b){
        cout << a*b << endl;
    };

    int main(){

        void (*operations[3])(int, int) = {add, subtract, multiply};
        
        int length = sizeof(operations)/sizeof(operations[0]);

        for(int i=0; i<length;++i){
            cout << (void*)operations[i] << endl;
        }

    }
    