C Programming

Programming in C is an introductory-level text book which follows a practical approach to help the students learn programming in a procedural manner. It discusses the line-by-line explanation of concepts and logic, used in the programs. All the programs in the book are fully-tested and compiled.

Detalles Bibliográficos
Autor principal: Jamwal, Shubhnandan (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Noida : Pearson India 2014.
Edición:1st ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009815723906719
Tabla de Contenidos:
  • Cover
  • Contents
  • Preface
  • 1. Basics of C Programming
  • 1.1 Introduction
  • 1.2 Algorithm
  • 1.3 Flowcharts
  • 1.4 Programming Languages
  • 1.5 B Language and Limitations
  • 1.6 C Language
  • 1.7 Programming Approaches
  • Summary
  • Exercise Questions
  • 2. Conditional Control Statements
  • 2.1 Introduction
  • 2.2 if Statement
  • 2.3 if else Statement
  • 2.4 Nested if Statement
  • 2.5 Ternary Operator ( ? : )
  • 2.6 if else if Ladder
  • 2.7 switch case Statement
  • 2.8 goto Statement
  • Summary
  • Exercise Questions
  • 3. Loop Control Statements
  • 3.1 Introduction
  • 3.2 Loop Control
  • 3.3 while Loop
  • 3.4 do while Loop
  • 3.5 for Loop
  • 3.6 break Statement
  • 3.7 continue Statement
  • 3.8 Comma Operator
  • 3.9 Nested Loops
  • Summary
  • Exercise Questions
  • 4. Functions
  • 4.1 Introduction
  • 4.2 Types of Functions
  • 4.3 Importance of Functions
  • 4.4 Scope of Functions
  • 4.5 Passing Parameters to Functions
  • 4.6 Function Prototype
  • 4.7 Call by Value
  • 4.8 Pointers
  • 4.9 Call by Reference
  • 4.10 Creating Header Files
  • 4.11 Recursion
  • 4.12 Functions with Variable Arguments
  • Summary
  • Exercise Questions
  • 5. Arrays
  • 5.1 Introduction
  • 5.2 Definition
  • 5.3 Single-dimensional Array
  • 5.4 Double-dimensional Array
  • 5.5 Strings
  • 5.6 Passing char Array to Function
  • 5.7 Double-dimensional Strings
  • Summary
  • Exercise Questions
  • 6. Arrays and Pointers
  • 6.1 Introduction
  • 6.2 Arrays and Pointers
  • 6.3 Array of Pointers
  • 6.4 Pointers and Strings
  • Summary
  • Exercise Questions
  • 7. Structures and Unions
  • 7.1 Introduction
  • 7.2 Structure
  • 7.3 Union
  • 7.4 Enumerations
  • Summary
  • Exercise Questions
  • 8. Storage Classes, Preprocessors, Macros, and Operation on Bits
  • 8.1 Introduction
  • 8.2 Storage Classes
  • 8.3 Preprocessor
  • 8.4 Operation on Bits
  • Summary
  • Exercise Questions.
  • 9. Data and File Handling
  • 9.1 Introduction
  • 9.2 Record
  • 9.3 Data Files
  • 9.4 File Opening Modes
  • 9.5 File Handling Functions
  • 9.6 Sequential and Random Access Files
  • 9.7 Command Line Arguments
  • 9.8 Text and Binary Files
  • Summary
  • Exercise Questions
  • 10. Dynamic Memory Allocation
  • 10.1 Introduction
  • 10.2 Static Memory
  • 10.3 Dynamic Memory
  • 10.4 Dynamic Memory Allocation Process
  • 10.5 Self-referential Structures
  • 10.6 Singly Linked List
  • 10.7 Doubly Linked List
  • 10.8 Stack
  • Summary
  • Exercise Questions
  • Appendix A: Library Functions
  • Appendix B: ASCII Chart
  • Appendix C: Operator Precedence Chart
  • Index.