When we are compiling a C program the output is stored in a.out. How can we redirect the compiled output to another file?
-ofilename will make filename instead of a.out.
-ofilename
filename
a.out