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