how to store string in variable

sorry i'm newbies c programer

how to store string to variable with value flexible.

example

int hh=1; ---> value flexible 1,2,3,4,5;
int xx=1; ---> value flexible 1,2,3,4,5;
char test="value=%d and value=%d",hh,xx; --> not working
char test2="value2=%d and value2=%d",hh,xx; --> not working

char complete=test+test2; ----> merge string not working
sprintf("%s",complete);

want output

value=1 and value=1 value2=1 and value2=1

please help me

thank you for advance.

define the test char array

int hh=1;
int xx=1;
sprintf(test,"value=%d and value=%d",hh,xx);
printf("%s",test);