Fundamentals of the C Language: Variables & Datatypes
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.