DI05016061 · Semester 5 · 5G scheme
Structured Programming with C
Notes and solutions following the Gujarat Technological University (GTU) syllabus for DI05016061. Independent material — not issued by the university.
Information Technology
Materials
Complete Book
The whole syllabus, unit by unit, written for the exam.
Complete Book
129 pages
Premium Preview · 36 pages
Syllabus units
Unit 1: Introduction to C Language
- 1.1 Art of Programming with Flowchart
- 1.2 C language introduction
- 1.3 Process of compiling and executing a C Program
- 1.4 Header files, Library functions - Introduction
- 1.5 Control Statements in C
- 1.6 Storage Classes
- 1.7 Type Qualifiers
Unit 2: Arrays and Pointers
- 2.1 Arrays
- 2.2 Variable Length Arrays, Flexible Array Members
- 2.3 Advanced Control Flow
- 2.4 Pointers
- 2.5 Advanced Pointers
- 2.6 Multilevel Pointers
Unit 3: Functions
- 3.1 Need for functions, Definition, Elements of User-defined Functions
- 3.2 Function Declaration, Return Values and their Types, Function Calls
- 3.3 Category of Functions
- 3.4 Passing Arrays to Functions, Recursion, The Scope, Visibility, and Lifetime of Variables
- 3.5 Advanced Function Concepts
Unit 4: User-defined Datatypes
- 4.1 User-defined datatypes
- 4.2 The Preprocessor
- 4.3 Include guards and #undef, #pragma and #error
- 4.4 Macros
- 4.5 Preprocessor Operators, Predefined Macros, Creating your own Macros
- Advanced Data Types
Unit 5: File Handling in C
- 5.1 Create a File, Naming a File, Opening a File, Read from File, Write to a File, Close a File
- 5.2 File Opening Modes, Accessing File Pointer
- 5.3 Read and Write in a Binary File, File error handling
About this course
Study materials, question papers, and solutions for Structured Programming with C (DI05016061) - Information Technology, Semester 5