# Introduction In this lab, we will learn how to reverse the content of a file using C programming language. We will read the content of the input file character by character, and write it back in reverse order to the output file. > Note: You need to create the file `~/project/main.c` yourself to practice coding and learn how to compile and run it using gcc. ```bash cd ~/project # create main.c touch main.c # compile main.c gcc main.c -o main # run main ./main ```
Click the virtual machine below to start practicing