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 courseintroduce variables in Cdemonstrate limits on sizes of shorts, integers, and longsdifferentiate between signed and unsigned variablesdemonstrate variable conventions and syntaxcompate variables and constantsperform math operations with arithmetic operators
-
demonstrate the use of ==, !=, <, > relational operatorsdemonstrate how to check for equality between non-integral typesdemonstrate the use of logical operatorsdemonstrate the use of pre- and post-increment operatorsperform math operations on variables with assignment operatorssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 42sUP NEXT
-
2.Introducing Variables in C9m
-
3.Viewing Limits on Shorts, Integers, and Longs in C7m 47s
-
4.Exploring Signed and Unsigned Variables in C10m 28s
-
5.Understanding Variable Conventions and Syntax in C8m 33s
-
6.Understanding Variables and Constants in C10m 16s
-
7.Using Arithmetic Operators in C8m 10s
-
8.Using Relational Operators in C7m 10s
-
9.Performing Equality Checks for Floating-point Types9m 2s
-
10.Using the and, or, and not Logical Operators in C7m 29s
-
11.Understanding the ++ Operator in C6m 51s
-
12.Performing Math Operations with Assignment Operators5m 54s
-
13.Course Summary1m 53s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.