Problem Solving Techniques using C
Problem Solving Techniques in C:
Introduction to Programming using ‘C’
In this page Problem Solving Techniques using C we give the details of syllabus points and related links with simple notes, related diagrams and examples.
Unit 1: Basics of Programming and Ubuntu OS
- Problem definition, problem analysis
- Algorithms- Definition, Characteristics, Advantages and Disadvantages
- Algorithm- Examples
- Flowchart- Definition, Symbols and Meaning, Advantages and Disadvantages
Flowchart- Examples
- Vim Editor, Writing, Introduction to GCC Compiler
- Types of errors in C Programming
- History of C Programming
- Basic Structure of C Programming
- Keywords, Identifiers, Tokens, Character set and Constants
- Variable Definition, Declaration, Data Types
Operators in C Programming:
- Arithmetic, Relational, Logical and Assignment
- Increment/ Decrement, Conditional, Bitwise and Special Operator
- Managing Input/output Statement in C
Branching Statements –
Unconditional statement in C Programming:
Unit 2: Control Statements and Array
- While loop- Definition of Loop, Syntax, flowchart and example, Infinite Loop
- Do-while loop- Syntax, flowchart and example
- Difference between while and do while
- For loop- Syntax, flowchart and example
- Features of Array, Definition and declaration of array One Dimensional Array
- Two Dimensional Arrays, Multi Dimensional Array
- Predefined String functions: srtcat(), strcpy(), strlen(), strrev() etc.
Unit 3: User Defined Functions and Pointer
- Definition, declaration, prototype of function, User defined functions
- Recursion function with example
- Type of variable: Local and global variable
- Storage classes: auto, extern, static and register
Pointer
- Address Operator in C
- Pointer Definition and Declaration, Pointer Initialization.
- Pointer Arithmetic in C
- Arrays of Pointers, Pointers and One and two dimensional Arrays
- Call by value and call by reference
- Dynamic Memory Allocation in C
Unit No. 4: Structures and File Handling
- Structure: Definition and declaration of Structure and Examples
- Nested Structure
- Array of structures
- Structure pointer in C
- Passing structure to function, self- referential structure
- Union: Definition and declaration and Example
- Difference between Structure and Union
Concept of File
Functions of file handling:
C Programs with Output:
- Basic C Programs | Simple Program in C
- if else program | nested if else program in c
- switch case programs in c
- while loop programs | do while loop programs
- Star Pattern in C
- Array Programs in C | C Programs on Arrays
- String Programs in C | Reverse string program in C
- User defined function program in c