If, int i = 5 and char ch = A - only 5 prints out, why not char too?
**********************************
#include <stdio.h>
struct s_type {
int i;
char ch;
} s;
int main(void) {
printf("Enter an integer\n");
scanf("%d", &s.i);
printf("Enter a character\n");
scanf("%c", &s.ch);
printf("\n%d %c", s.i, s.ch);
return 0;
}
************************************