C Programming Language:
What is C Programming Language?
HOW TO OPEN TURBO C IDE?
Working With Programs
3. Main Function - is the point by where all C programs begin their execution.
4. printf -is the standard output stream in C.
5. The return instruction causes main() to finish and return 0.
That's all! Any questions?
What is C Programming Language?
- Derived from 2 programming languages (1)BCPL(Basic Combined Programming Language) by Martin Richards and (2) B by Ken Thompson.
- Developed by Dennis Ritchie at Bell Labs during early 1970's.
- Is an example of a structured language
HOW TO OPEN TURBO C IDE?
First locate TC.EXE in C:\Tc\Bin and double click
Working With Programs
- Creating a New Program
- Saving A Program
- Running A Program
- Sample Program
//my first program in C#includeint main(){printf("Hello World");return 0;}
- Dissection:
- Comment - is a piece of source code discarded from the code by the compiler types
- //comment
- /*block of comment*/
3. Main Function - is the point by where all C programs begin their execution.
4. printf -is the standard output stream in C.
5. The return instruction causes main() to finish and return 0.
That's all! Any questions?