What is data types and format specifiers in C ?- Day-3

Source file:
This is a file which contains instruction or code given by the programmer.
in C the source file is very important for making the application work.
Source of C is     xyz.c     file

Object File:
This is the file which comes after compiling the source. in C after the compiler compiles the .c file OS creates a .OBJ file

Application:
This is the .EXE file which is given after executing the .OBJ

Editor: This is the place where the code is written.

IDE:   Integrated Development Environment
DEV C/C++
NetBeans
Eclipse
Textpad


Tokens:
This is an important piece of the word in the c program.
There are 5 types of tokens:
1. keywords
2. Variable names/ Identifiers
3. Data types / Literals
4. Comments
5. Operators

Keywords:
These are important words in the program which are needed for the execution of codes.
there are 32 keywords in C

if, for, while, break, continue etc..

Variable:
This is a block of space in memory which can store some value.

num1=2
num2=4
num3=num1+num2=6
num4=10
num5=num3+num4=16....

num1,num2,num3,.... are called variable names also called identifiers.

num1=2;
num2=4;

printf("num1+num2");

printf("Addition of %d and %d is %d",num1,num2,num1+num2)
addition os 2 and 4 is 6;

Variable names contains values in the RAM which are used in the codes.
These names cannot be given in the printf function. To print the values in the variables we use
FORMAT SPECIFIER.

int %d
char %c
float %f
double %lf
string %s
Unsigned %u