I am in the directory /home/destination I need to go back to the /home directory. Any ideas on how to implement this using a C-program?
/home/destination
/home
You can use the chdir function for this:
chdir(".."); /* change current working directory, go one level up */