Check out example codes for "declare variable in c". It will help you in understanding the concepts better.

Code Example 1

int playerScore = 95;

char ch = 'a';
// some code
ch = 'l';

Code Example 2

int    i, j, k;
char   c, ch;
float  f, salary;
double d;

Learn ReactJs, React Native from akashmittal.com