Adding and modifying Dynamic data examples

Some dynamic data examples (C/C++) has been created and modified (to get a robust output).