Dear readers,
In this post you will learn the method to link a C program....
SO FRIENDS LETS START LEARNING
- Linking C program :-
The Linker is a program and is a part of compiler. After linking the object code to the libraries, an executable file with extension EXE is created.
For example :-
If source file name is "test.c", then executable file name will be "test.exe".
In Turbo C environment, program is linked as;
- Select Link command from Compile menu on the menu bar.
- For Example :-
In this case, the errors are removed from the source code and source code is compiled again. The new object file is then linked to the libraries to create the executable file. The file directly dun on the computer.
No comments:
Post a Comment