C was developed by Dennis Ritchie in 1972 at Bell Laboratories to be used in the UNIX operating system. It inherits features from previous languages like B and BCPL. There are standard steps to developing a program: requirements, analysis, design, coding, testing, and maintenance. C is a simple, machine independent, structured programming language with features like pointers, recursion, and memory management. A C program structure includes documentation, libraries, definitions, global declarations, the main function, and subprograms. The main function declares and executes the program using variables and user-defined functions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
91 views
CTSD 1 - Unit 1
C was developed by Dennis Ritchie in 1972 at Bell Laboratories to be used in the UNIX operating system. It inherits features from previous languages like B and BCPL. There are standard steps to developing a program: requirements, analysis, design, coding, testing, and maintenance. C is a simple, machine independent, structured programming language with features like pointers, recursion, and memory management. A C program structure includes documentation, libraries, definitions, global declarations, the main function, and subprograms. The main function declares and executes the program using variables and user-defined functions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9
Fundamental of Programming /
PROGRAMMING FOR PROBLEM SOLVING
Prof. Umang Panchal, Designation Computer Science & Engineering CHAPTER-1 INTRODUCTION TO C LANGUAGE HISTORY OF C LANGUAGE
• C is developed by Dennis Ritchie in the year 1972 at Bell Laboratories(USA).
• It is a General- purpose, Structured, Machine Independent, Simple and Flexible programming language. • Initially, C language was developed to be used in UNIX operating system. It inherits many features of previous languages such as B and BCPL. PROGRAM DEVELOPMENT STEPS • The program development steps or phases that we follow a sequence of steps to develop a program in any programming language. • Generally, the program development steps contains 6 phases, they are as follows 1. Requirements 2. Analysis 3. Design 4. Coding 5. Testing 6. Maintenance FEATURES OF C LANGUAGE • Simple • Machine Independent or Portable • Mid-level programming language • structured programming language • Rich Library • Memory Management • Fast Speed • Pointers • Recursion • Extensible STRUCTURE OF C PROGRAM Documentation – comments about program Link- instructions to compiler Definition- defines all symbolic constants Global declaration- variable that is frequently used Main()- Declaration: all variables Execution: programming Subprogram- user defined functions EXECUTION OF C PROGRAM EXAMPLE www.paruluniversity.ac.in