• 5. Chapter 4: Data Types and Variables


    Objectives of this Chapter:

    To teach about what is programming, why we need to learn programming and programming career.

    Chapter Outcomes:

    After completing this chapter students should able to

    • Do code with all types of basic datatypes  
    • convert one type of data into another 
    • Input String and Display string with new functions gets() and puts ()
    • find out the mod of two Integers
    • understand the naming convention of  variables
    • Clear knowledge about variables

    chapter contents: 

    • Floating-point Numbers
    • Converting Integers to Floating-point and vice-versa
    • Mixed-mode Expressions
    •  The typecast Operator
    •  The type char, Keywords, Character Input and Output
    •  Formatted input and output, The gets() and puts() functions
    •  Interactive Programming.

  • General

  • Course Introduction

  • Chapter 1: Introduction to Principles of programming

  • Introduction to C Programming

  • Operators and Expressions

  • Control Statements and Decision Making:

  • Array

  • Strings

  • Function in C Programming

  • Section 10