Lec 4 Basic of C Language
Lec 4 Basic of C Language
CSE-1101
Rafid Mostafiz
IIT, NSTU
Basic Stucture(C Language)
2
Basic Stucture
3
First C Program
4
Source Program
printable/Readable Program file
Object Program
nonprintable machine readable file
Executable Program
nonprintable executable code
Syntax errors
reported by the compiler
Linker errors
it means that your code compiles fine, but that some function
or library that is needed cannot be found.
Execution/Run-time errors
reported by the operating system
Integrated Development Environments
6
The statement
printf(“Hello World\n");
Any Question?