HEX string

hi all,
I have to send the following string via Serial.print.
"@W\x10\x10\x10"
written as it is.
The problem is that the numbers are addresses and I'd like to have to possibility to change them at every loop.
I've tried the following code :

#include <stdio.h>
byte temp = 16 ;

void setup()
{
Serial.begin(9600);
}

void loop()
{
char ascii[14];
sprintf(ascii,"@W\x%x\x%x\x%x",temp,temp,temp) ;
Serial.print(ascii);
}

but the compiler tell me

In function 'void loop()':
error: \x used with no following hex digits

Some ideas about??
Thankou very much!

Backslash is a "special character". If you want a literal backslash, you must escape it with a backslash.

sprintf(ascii,"@W\\x%x\\x%x\\x%x",temp,temp,temp) ;

incredible! you're right!!
thanks a lot!!!