Q:

char and int can't be at the same function?

I'm learning C and one of my tasks is to make a program where you input your name, street name and id number and have it print out that information. Every time that the program is getting to the id number part it's "going crazy." For the record, there's an int and char together in the same function, perhaps that's the source of the problem?
#include<stdio.h>

char a,b,c,d;
char e,f,g,h,i;
int j,k,l,m,n,o,p,q;
int main()
{
    printf("\nwrite your name (4 letter's only) ");
    scanf("%c%c%c%c",&a,&b,&c,&d);
    printf("\nwrite your street name (5 letter's only')");
    scanf("%c%c%c%c%c",&e,&f,&g,&h,&i);
    printf("\nwrite your id number (8 number's only')");
    scanf("%d%d%d%d%d%d%d%d",&j,&k,&l,&m,&n,&o,&p);
    printf("your name is %c%c%c%c your street name is %c%c%c%c%c and your id number is %d%d%d%d%d%d%d%d ",a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q);
    return 0;
}

A:

%d reads a whole integer not a single digit. Thus the first %d will read the whole id number into j. You do not need all those int variables - use only one. Also you may consider using %s and char array to read the street name and the user's name. 

