Code:
char num[4];
int a,b,c,d;
printf("enter a four digit nuber:");
scanf("%s",num[4]);
a=num[0];
b=num[1];
c=num[2];
d=num[3];
printf("%d",a);
printf("%d",b);
printf("%d",c);
printf("%d",d);
i input 1234 but it should ouput
a=1
b=2
c=3
d=4
ryt? but it doest output the number that im expecting..