100 likes | 112 Views
Here in this pdf, you can learn about C programming. C is a simple, easy to learn, and flexible programming language.
E N D
What is C Programming? C is the general-purpose, procedural, structural, and assembly programming language that is simple, easy, and flexible. If you learn C Programming, you can quickly learn other programming languages because C is the programming base. C is also known as the mother language.
When C language Invented? C language was invented by Dennis Ritchie at Bell Laboratories in 1972 (formerly AT&T Bell Laboratories). Initially, C language was developed for the Unix operating system.
History of C Programming language In 1960 ALGOL (short for Algorithmic Language) language was Introduced for structured programming. In 1967, a new language came BCPL( Basic Combined Programming Language)that Martin Richard developed. BCPL was designed for writing system software. In 1970 B language was introduced that developed by Ken Thompson. It was derived from BPCL. B and BPCL were both used for system programming. In 1972, Dennis Ritchie created the c programming language from B, BPCL.
Uses of C programming language/ Applications It is used in IoT(internet of things)applications. C language used in Operating system. The Unix operating system was designed in C; later, the microsoft and Apple operating systems were also developed through scripting using C. It is used in Compiler design. C language is used in embedded systems. It is used in desktop applications. It is used in database software like MYSQL written In C.
Features of C Programming Language Simple General-purpose programming language Fast and Efficient Portable programming language Mid-level programming language Structured Programming language Statically typed Rich Library
C Basic Commands C Basic commands Explanations It is a preprocessor command that inputs/outputs header file(studio. h) #include<studio.h> Int main () It is the main function where the C program begins curly braces that begin the main function { whatever is given inside the command “/* */” in any C program, won’t be considered for compilation and execution. /*_some_comments_*/ It prints the output onto the screen. printf(“Hello_World! “); Commands wait for any character input from keyword getch(); The command terminates the C program (main function) and returns 0. return 0; indicates the end of the main function }
Contact us Name: Calltutors Email: info@calltutors.com Website: www.calltutors.com