SlideShare a Scribd company logo
www.btechsmartclass.com
C Programming Language
Program
Execution Steps
Basic Steps for Creating & Executing
Creating Source Code
1
1
Step
Compile Source Code
2
Step
Run Executable Code
3
Step
Check Result
4
Step Press
Alt + F5
Press
Ctrl + F9
Press
Alt + F9
Press
F2 To Save
Creating Source Code
2
What is source code?
- Source Code is the file which contains programming code in
high level language.
- To create source code, we need a text editor to write the
program.
- In C programming language every source code file must be
saved with “.c” extension.
Creating Source Code
3
Steps to create source code?
- Open a text editor.
- Create New File.
- Type the program instructions.
- Save the file with “.c” extension.
Compiling Source Code
4
What is Compilation?
- Compilation is the process of translating the code from high
level language to low level language.
- But before translation compiler check for the errors. If
there are any errors it does not translate, simply returns list
of errors.
- To compile a C source code in Turbo C, we use shortcut key
ALT + F9
Executing/Running Executable Code
4
- After completing the compilation the compiler generates an
executable file with .exe extension.
- We need to execute this executable file to generate result
- To run a C executable code in Turbo C, we use shortcut key
CTRL + F9
Checking Result
4
- After execution the result is placed in the window called
User Screen. We need to open that user screen to check
result
- To open user screen in Turbo C, we use shortcut key
ALT + F5
C Program Execution Process
4
abc
Sample.c
Source Code Compiler
List of ERRORS
add
Linker
Object Code
Sample.obj
110
Executable Code
Sample.exe
CPU
User Screen
Header Files
stdio.h
ALT+F9
CRTL+F9 ALT+F5
For more information please visit www.btechsmartclass.com
Please do subscribe my channel

More Related Content

PPTX
C programming ii
PPTX
Computer programming - turbo c environment
ODP
BIS07 Application Development - I
PDF
[ITP - Lecture 02] Steps to Create Program & Approaches of Programming
PDF
Fundamental of Information Technology - UNIT 7
PDF
C Programming Compilation Process.pdf
PDF
Programming in c_in_7_days
PDF
C lecture notes new
C programming ii
Computer programming - turbo c environment
BIS07 Application Development - I
[ITP - Lecture 02] Steps to Create Program & Approaches of Programming
Fundamental of Information Technology - UNIT 7
C Programming Compilation Process.pdf
Programming in c_in_7_days
C lecture notes new

Similar to c-step-by-step-execution power point presentation (20)

PPTX
COM1407: Introduction to C Programming
DOCX
C language industrial training report
PDF
Introduction of c language
PDF
C in7-days
PDF
C in7-days
PDF
C Programming Lab manual 18CPL17
PDF
1.introduction to c programming
PPT
Synapseindia dot net development computer programming
PPTX
C PROGRAMMING AND DATA STRUCTURE _PPT.pptx
PPTX
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
PPTX
C installation guide
DOCX
The basics of c programming
PPT
1_Introduction to C programming - Copy.ppt
PPTX
Compilation
PPTX
Master the Fundamentals of C Programming Language
PPT
Introduction
PDF
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
PPT
Introduct To C Language Programming
PPT
Turbo C
PPTX
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
COM1407: Introduction to C Programming
C language industrial training report
Introduction of c language
C in7-days
C in7-days
C Programming Lab manual 18CPL17
1.introduction to c programming
Synapseindia dot net development computer programming
C PROGRAMMING AND DATA STRUCTURE _PPT.pptx
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
C installation guide
The basics of c programming
1_Introduction to C programming - Copy.ppt
Compilation
Master the Fundamentals of C Programming Language
Introduction
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
Introduct To C Language Programming
Turbo C
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
Ad

More from 10300PEDDIKISHOR (7)

PPT
c-Functions power point presentation on c functions
PPT
Structures-in-C programming with examples
PPTX
file handling in c programming with file functions
PPT
Unity JDBC ICEIS ppt UnityJDBC ICEIS ppt
PPT
JDBC DriversPros and Cons of Each Driver
PPT
Java Database Connectivity Java Database
PDF
Every SQL Query must have: • SELECT clause: specifies columns to be retained ...
c-Functions power point presentation on c functions
Structures-in-C programming with examples
file handling in c programming with file functions
Unity JDBC ICEIS ppt UnityJDBC ICEIS ppt
JDBC DriversPros and Cons of Each Driver
Java Database Connectivity Java Database
Every SQL Query must have: • SELECT clause: specifies columns to be retained ...
Ad

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Welding lecture in detail for understanding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
web development for engineering and engineering
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
PPT on Performance Review to get promotions
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPT
Project quality management in manufacturing
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Welding lecture in detail for understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
web development for engineering and engineering
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
R24 SURVEYING LAB MANUAL for civil enggi
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Foundation to blockchain - A guide to Blockchain Tech
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CH1 Production IntroductoryConcepts.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPT on Performance Review to get promotions
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Project quality management in manufacturing

c-step-by-step-execution power point presentation

  • 2. Basic Steps for Creating & Executing Creating Source Code 1 1 Step Compile Source Code 2 Step Run Executable Code 3 Step Check Result 4 Step Press Alt + F5 Press Ctrl + F9 Press Alt + F9 Press F2 To Save
  • 3. Creating Source Code 2 What is source code? - Source Code is the file which contains programming code in high level language. - To create source code, we need a text editor to write the program. - In C programming language every source code file must be saved with “.c” extension.
  • 4. Creating Source Code 3 Steps to create source code? - Open a text editor. - Create New File. - Type the program instructions. - Save the file with “.c” extension.
  • 5. Compiling Source Code 4 What is Compilation? - Compilation is the process of translating the code from high level language to low level language. - But before translation compiler check for the errors. If there are any errors it does not translate, simply returns list of errors. - To compile a C source code in Turbo C, we use shortcut key ALT + F9
  • 6. Executing/Running Executable Code 4 - After completing the compilation the compiler generates an executable file with .exe extension. - We need to execute this executable file to generate result - To run a C executable code in Turbo C, we use shortcut key CTRL + F9
  • 7. Checking Result 4 - After execution the result is placed in the window called User Screen. We need to open that user screen to check result - To open user screen in Turbo C, we use shortcut key ALT + F5
  • 8. C Program Execution Process 4 abc Sample.c Source Code Compiler List of ERRORS add Linker Object Code Sample.obj 110 Executable Code Sample.exe CPU User Screen Header Files stdio.h ALT+F9 CRTL+F9 ALT+F5
  • 9. For more information please visit www.btechsmartclass.com Please do subscribe my channel