To compile the program welcome.c in MS-DOS environment, we must type the following at the command prompt.
On doing so, the object code is stored in a file named welcome.obj. The linking is done by the command,
which generates the executable code in a file named welcome.exe. Finally, to execute the program welcome.c, we have to simply type the following at the command prompt.