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
-
1m 42s
-
9mDuring this video, you will learn how to introduce variables in C programming. FREE ACCESS
-
7m 47sLearn how to apply limits on the sizes of shorts, integers, and longs. FREE ACCESS
-
10m 28sDuring this video, you will learn how to differentiate between signed and unsigned variables. FREE ACCESS
-
8m 33sIn this video, you will learn about variable conventions and syntax. FREE ACCESS
-
10m 16sLearn how to compare variables and constants. FREE ACCESS
-
8m 10sLearn how to perform math operations with arithmetic operators. FREE ACCESS
-
7m 10sIn this video, you will learn about the use of the ==, !=, relational operators. FREE ACCESS
-
9m 2sIn this video, you will learn how to check for equality between non-integer types. FREE ACCESS
-
7m 29sIn this video, you will learn about the use of the logical operators AND, OR, and NOT. FREE ACCESS
-
6m 51sLearn how to apply the use of pre- and post-increment operators. FREE ACCESS
-
5m 54sIn this video, find out how to perform math operations on variables using assignment operators. FREE ACCESS
-
1m 53sdb6c3636-4aea-43b0-87c9-84ba2adb92a0 FREE ACCESS
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.