Code Snippets C

#include
int main ()
{
char buffer [50];
int n, j = 50, k = 23;
n = sprintf (buffer, "%d plus %d is %d", j, k, j + k);
printf ("[%s] is j %d chars string\n", buffer, n);
return 0;
}