That"s because you're first trying to print out a variable that has no value assigned to it and only then you try to put some value in it. Before scanf line in your code x has no value so it just prints out garbage from memory turned into some bizarre value.
Depending on what you need do either one of these:
int x;
scanf("%d",&x);
printf("put the first Digit if the number : %d",x);
int x = 0;
printf("put the first Digit if the number : %d",x);
scanf("%d",&x);