The script is alright and the control return to the original directory after the execution of 'cd' command. That means that the directory is switched as desired and after the execution of the script it returns to the original directory!
To verify it, create some file(s) in '/home/qwerty/Programs/C' and then use some other command with it! e.g
Code:
#!/bin/bash
cd /home/qwerty/Programs/C
ls
This will switch the directory first, show the contents of that directory and then return the control to the original directory!