int to char question

Thanks guys,

Here is what I've tried without any luck:

int red = 255;
sprintf(c, "%d", red);

Do I understand sprintf correctly?