Use /OUT to specify a name for the executable output file.
| /OUT option syntax |
|---|
|
Default is: Name of the first .OBJ file with appropriate extension.
Abbreviation is: /O
If you do not provide an extension with name, the linker provides an extension based on the type of file that you are producing, as shown in the table below.
| File produced | Default extension |
| Executable program | .EXE |
| Dynamic link library | .DLL |
If you do not use the /OUT option, the linker uses the file-name of the first object file that you specified, with the appropriate extension.