Write two simple c programs that will be compiled and linked together to print "Hello world!" Execute the following step
Posted: Thu May 26, 2022 9:21 am
Write two simple c programs that will be compiled and linked together to print "Hello world!" Execute the following steps in a Linux shell and record the session in a file using the command "script". You will have to submit the file. compile the programs individually to get two non-executable object files link the two files to one executable file - delete the object files and the executable file compile and link your program in one step without creating object files run the program and make sure that you see the correct output. put the last three commands in a text file named "compileAndRun" compile and run your programs using the file "compileAndRun" as a script. file rename the script to "newCompileAndRun" run the script once again remove the script file show the detailed contents of the current directory show the detailed information of the program files only