C Language Notes

Just click on the below highlighted topics, to read the complete notes.

    1. C Language Introduction

      • Features of high level language
      • Difference between Low-Level & High-Level Language
      • What is Machine level language?
      • Limitations of low level language or machine level language
      • Difference between Machine-Level & Assembly Language
      • What is Compiler
      • What is Interpreter
      • Differences between compiler and interpreter
    2. Algorithm and Flowchart

      • What is Logic
      • What is Algorithm
      • What is Flowchart
      • Advantages of Flowchart
      • Drawback of flowchart
    3. Structure of C program

      • Six main sections to a basic c program.
      • Comment
    4. Token

      • What is Token?
      • Six types of token
        1. Keywords               (eg: int, while),
        2. Identifiers               (eg: main, total),
        3. Constants              (eg: 10, 20),
        4. Strings                    (eg: “total”, “hello”),
        5. Character set         (eg: A-Z,a-z),
        6. Operators              (eg: +, /,-,*)
    5.  Data types

      • Three types of data types
        1. Primary data type
        2. Derived data type
        3. User defined data type
      • Variable
      • Explain different types of storage classes
    6. Operators

      • arithmetic operators
      • Relational operator
      • Logical Operators
      • Assignment Operators
      • Increment or Decrement Operators
      • Conditional or Ternary operator
      • Bitwise Operators
      • Special Operators
    7. printf() and scanf() function 

      •  Explain printf() function
      • Explain scanf() function
    8. if…else statement
      • If statement
      • If…else statement
      • If…else ladder
      • Nested if…else
      • Switch case
    9. Loop

      • While loop
      • For loop
      • Do..while loop
    10. Break and Continue

      • Break statement
      • Continue statement
    11. Array

      • What is array?
      • Three types of array
        1. single dimensional array
        2. two dimensional array
        3. multi dimensional array
    12. User-defined function

      • What is function? When it is used?
      • Advantages of function
      • Elements of function
      • What is Recursion?
      • Nested function.
      • Difference between actual arguments and formal arguments.
      • Difference between function prototype and function definition.
      • Difference between call by value and call by deference.
    13. Pointer

      • What is pointer?
      • Advantages of pointer.
      • Difference between .operator and->operator.
      • Access character array using pointer.
      • How can we pass a pointer as an argument to a function? 
      • What is the use of & operator and * operator 
    14. File management 

      • Explain fopen().
      • Explain fclose().
      • Explain mode of file.
      • Explain input output operation on file
      • Error handling during I/O operation
      • Explain Ftell():
      • Explain Rewind()
      • Explain Fseek()
      • Explain Append():
    15. Link list

      • What is dynamic memory allocation. 
      • Explain the malloc()
      • Explain the calloc()
      • Explain the free()
      • Explain the use of realloc()
      • What is link list?
      • Advantages and disadvantages of link list.
      • Types of link list.
      • Operations performed on linked list
    16. Preprocessor

      • What is preprocessor?
      • Categories of the preprocessor directive.
        1. Simple macro substitution
        2. Argument macro substitution
        3. Nested macro substitution