[Solved] Call function use pointer
First of all: Your functions void my_int_func(int x) and void my_int_func2(int y) do not return anything (return type void). They just prompt the input parameters to stdout. What you probably want is something like that #include <iostream> using namespace std; int my_int_func(int x) { return x; } int my_int_func2(int x) { return x; } void … Read more