The question isn't clear. C does not automatically generate numbers, you have to write code to produce a given output from a specific input. Can you give an example of what input you want the program to use (if any), and what output you want the computer to print?
Why would you not want to declare and increment an integer? It seems those would be fairly essential operations, although this does depend on what output you want the program to produce.