01 C Programming
01 C Programming
INDEX
1 What is C Programming Language
2 History of C Language
3 Features of C Language
5 First C Program
WHAT IS C LANGUAGE ?
Ans :
Simple
C is a simple language b coz it provides rich set of built in functions, data types etc.
Machine Independent
c programs can be executed in many machines with little bit or no change.
Built in Functions
C provides a lot of inbuilt functions that makes the development fast.
Easy to learn
Made By C Language
Linux OS Written in C.
MySQL Written in C.
-------------------------------------------------------------------------------
Database System
Compiler
Operating System
Network Driver
Text Editors
C LANGUAGE BECOME VERY POPULER B COZ…
➢ TextEditor
➢ The C Compiler
OR
WHAT IS COMPILER ?
Code Blocks
(www.codeblocks.org/)
Turbo C C++
(https://turboc.codeplex.com/)
CODEBLOCKS
TURBO C C++ IDE
FIRST C PROGRAM
#include <stdio.h>
#include <conio.h>
void main()
{
printf("Hello C Language");
getch();
}
#include <stdio.h> includes the standard input output library functions. The
printf() function is defined in stdio.h .
#include <conio.h> includes the console input output library functions. The
getch() function is defined in conio.h file.
void main() ::: The main() function is the entry point of every program in c
language. The void keyword specifies that it returns no value.
The getch() function asks for a single character. Until you press any key, it
blocks the screen.
Extension