Programming Structures
Programming Structures
Structures
•A flowchart is a diagrammatic
representation that illustrates the sequence
of operations to be performed to get the
solution of a problem.
Sample Problems
Basic Programming Structures:
• Sequential
• Conditional
• Repetitive/Iteration/Looping
Structure of C Program
Runtime Errors are those errors that occur
during the execution of a c program and
generally occur due to some illegal
operation performed in the program.
Types of Error in C
Compile errors are those errors that
occur at the time of compilation of the
program. C compile errors may be
further classified as:
• Syntax Error
• Semantic Error
Types of Error in C
Logical errors are the errors in the
output of the program.