Hey guys i automatically generated a number just want to ask a few questions.

How would i only generate 4 integers using rand() also

Thus far it prints

'c'

'23567' some random number how would i add the 'c' to the random number

c23567

Im trying to use a string cat function but getting some errors


Code:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

int main (void)
{
  char buff [200];
  int  number;

  sprintf(buff, "%s", "c");

  printf("%s\n\n", buff);
  

  number = rand();
  printf("%d", number);


  return EXIT_SUCCESS;

}