C declare integer code example Example 1: declare integer c int a = value; Example 2: how to create an int in c int nameOfInt;