0% found this document useful (0 votes)
3 views2 pages

TodayClass4 7 2024

Uploaded by

laxmiadapala1205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

TodayClass4 7 2024

Uploaded by

laxmiadapala1205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Role of C Compiler:

 Compiler: Converts source to object code for a specific platform


 Linker: Resolves external references and produces the executable
module
 Typically, C programs when executing, have four different files
 Source Code: File that is created by user and the executable
statements are written. This file is saved with a file extension of
‘.c’.
 Header files – contains the declaration of functions and pre-
processors statements. Header files have ‘.h’ as their extension.
 Object files – are the output from the compilers. ‘.o’ or ‘.obj’ are
the typical extension to such files.
 Binary executables – are an output of the process of linking.
Binary executables have ‘.exe’ as their extension.
Flow charts:
 Flow charts are symbolic diagrams of operations and the sequence, data
flow, control flow and processing logic in information processing.
 These charts are used to understand any working sequence of the
program.
 Flow chart is a graphical representation of algorithm.
 An algorithm defines as the step by step procedure or method that can
be carried out for solving programming problems.
Advantages of flowchart:-
 It provides an easy way of communication because any other person
besides the programmer can understand the way they are represented.
 It represents the data flow.
 It provides a clear overview of the entire program and problem and
solution.
 It checks the accuracy in logic flow.
 It documents the steps followed in an algorithm.
 It provides the facility for coding.
 It provides the way of modification of running program.
 They shows all major elements and their relationship.
In C programming, flowcharts are often used to represent algorithms or
programs. They show the connections, flow of information, and processes
within an algorithm or a program.
Flowchart is a graphical representation of an algorithm. Programmers
often use it as a program-planning tool to solve a problem. It makes
use of symbols which are connected among them to indicate the flow
of information and processing.
The process of drawing a flowchart for an algorithm is known as
“flowcharting”.
Basic Symbols used in Flowchart Designs

You might also like