Presentation is loading. Please wait.

Presentation is loading. Please wait.

Executing a C Program Creating the Program Compilation Linking Execution.

Similar presentations


Presentation on theme: "Executing a C Program Creating the Program Compilation Linking Execution."— Presentation transcript:

1 Executing a C Program Creating the Program Compilation Linking Execution

2 Executing a C Program (Cont) Enter the program in a C editor. Save the program (File  Save) or F2. Use the extension.c for saving the file. Eg: sample.c Compile the program(Compile  Compile) or Alt+F9. Run the program(Run  Run) or Ctrl+F9.

3 Executing C program using UNIX Enter the program in vi editor. Save the file using :wq Use the extension.c for saving the file. Eg: sample.c Compile the program. Eg: cc sample.c (or) gcc sample.c Run the program using a.out.


Download ppt "Executing a C Program Creating the Program Compilation Linking Execution."

Similar presentations


Ads by Google