This preview shows page 1. Sign up to view the full content.
Unformatted text preview: nd every statement in C language ends with a
The next step is Program execution. In this phase, we
may encounter two types of errors.
Runtime Errors: these errors occur during the
execution of the program and terminates the program
Logical Errors: these errors occur due to incorrect
usage of the instructions in the program. These errors
are neither detected during compilation or execution
nor cause any stoppage to the program execution but
produces incorrect ouz Executing a C program
……. prog1.c compiles C-compiler Yes Syntax
Errors? 010110 100
01011 101 No
Object machine code
01010101 prog1.obj adds Executable
machine code machine code of
library file C-Runtime prog1.exe Executes
Feeds Input Runtime
Errors ? Output Yes Translators are system software
used to convert high-level
language program into
Compiler : Coverts the entire
source program at a time into
object code file, an...
View Full Document
This note was uploaded on 11/15/2011 for the course ECKOW 123 taught by Professor Riuyt during the Spring '11 term at University of Damascus.
- Spring '11