Learning C Programming
Learning C Programming
======================
- \n - new line
Variable
========
- Data stored in objects
- Named objects are called varialbe - int age ( in this case, age is variable
becaue it is named object)
- Data placed in the variable is called value - age=10 ( in this case, 10 is
value because it is placed in the variable)
- There are many types of variable
Naming of variable
==================
- Must begin with letter, digit and underscore
- Do not start with _ because a lot of function use it
- Case sensitive
- Don't use C compiler keywords such as (If, Else, For, etc)
Type of variable
================
- char - single byte
- int - two bytes
- flost - single precision floating point
- double - double precison floatng point
- typedef - create other data type name