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

Code Example 1

#include<stdio.h>
#include<conio.h>
void main()
{
//variable declaration
	int a;
  //assinging value to a variable;
    a=10;
}

Learn ReactJs, React Native from akashmittal.com