Perhaps you are looking for something like this?
char buf[256]; // make sure this is big enough to hold your entire string!
sprintf(buf, "Congratulations, you have finished the game with a score of %i\nPress any key to exit...", INT_HERE);
Note that the above is unsafe in the sense that if your string ends up being longer than sizeof(buf), sprintf() will write past the end of it and corrupt your stack. To avoid that risk, you could call snprintf() instead:
char buf[256]; // make sure this is big enough to hold your entire string!
snprintf(buf, sizeof(buf), "Congratulations, you have finished the game with a score of %i\nPress any key to exit...", INT_HERE);
... the only downside is that snprintf() may not be available on every OS.