Cisco interview question

Write a program in C to open a text file and run the code from that file.