How about this?
char concatenated[ 20 ];
sprintf( concatenated, "%d%d", a, b );
The result will be a string of chars in 'concatenated'. If you need it back as in int, do:
char concatenated[ 20 ];
int newInt = int( sprintf( concatenated, "%d%d", a, b ) );
You'll have to be careful about integer overflow in the second example.