Example:
1 #include <stdlib.h> 2 #include <stdio.h> 3 #include <iostream> 4 #include <string> 5 #include <functional> //std::function 6 7 using std::cout; 8 using std::endl; 9 10 int func(int *p){ 11 *p = 10; 12 return *p; 13 } 14 15 int func1(int p){ 16 // int b =30; 17 p=