Add sample program for function pointers inC
Add some sample programs for C++