Using C Programming,
4) Run the program below with the following values:
#include <stdio.h>
int main(void) {
int x, y, p, q;
printf("Enter x and y:");
scanf("%4d%5d", &x, &y);
printf("x=%d, y=%d
", x, y);
printf("Enter p and q:");
scanf("%d%d", &p, &q);
printf("p=%d, q=%d
", p, q);
return 0;
}
Enter the following values for x, y, p, and q:
Enter x and y: 12345 6789
Enter p and q: 54321 9876
Analyze and explain the output.