You can declare a lot of variables of a particular type at the same time if you like:

    int sheep, goats, cows, pigs ;
    /* .. as used by Old MacDonald.. */

The list of variables is separated by the comma character and terminated by the semicolon.

In the CPIC on the right you can see that I have rearranged my spaceship program to declare the height and the speed on the same line. When you step over this line you will see both variables appear at the same time..

Of course you can't declare variables of different types in the same declaration.