Fundamentals of the C Language: Variables & Datatypes

C 17    |    Beginner
  • 13 videos | 1h 34m 15s
  • Includes Assessment
  • Earns a Badge
The C programming language is statically typed, which means that all variables have an associated type specified in the code. The C compiler will rigorously check that values stored in these variables match the declared types. In this respect, C differs from popular languages such as Javascript and Python where the types of variables can be inferred at runtime. You will start this course by learning the basics of variables in C. Learn about the data types that can be stored in those variables and how to use arithmetic operators to perform mathematical operations between literals and on variables. Discover basic arithmetic operators, then progress to unary and assignment operators. Finally, explore relational and logical operators in C and discover how to use relational operators to compare two numbers, and logical operators such as AND, OR, and NOT to combine predicates.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    introduce variables in C
    demonstrate limits on sizes of shorts, integers, and longs
    differentiate between signed and unsigned variables
    demonstrate variable conventions and syntax
    compate variables and constants
    perform math operations with arithmetic operators
  • demonstrate the use of ==, !=, <, > relational operators
    demonstrate how to check for equality between non-integral types
    demonstrate the use of logical operators
    demonstrate the use of pre- and post-increment operators
    perform math operations on variables with assignment operators
    summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 42s
  • 9m
  • Locked
    3.  Viewing Limits on Shorts, Integers, and Longs in C
    7m 47s
  • Locked
    4.  Exploring Signed and Unsigned Variables in C
    10m 28s
  • Locked
    5.  Understanding Variable Conventions and Syntax in C
    8m 33s
  • Locked
    6.  Understanding Variables and Constants in C
    10m 16s
  • Locked
    7.  Using Arithmetic Operators in C
    8m 10s
  • Locked
    8.  Using Relational Operators in C
    7m 10s
  • Locked
    9.  Performing Equality Checks for Floating-point Types
    9m 2s
  • Locked
    10.  Using the and, or, and not Logical Operators in C
    7m 29s
  • Locked
    11.  Understanding the ++ Operator in C
    6m 51s
  • Locked
    12.  Performing Math Operations with Assignment Operators
    5m 54s
  • Locked
    13.  Course Summary
    1m 53s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.