#include<stdio.h>
#include<conio.h>
void main()
{
int i = 10;
int j = 20;
int k = 30;
int n = 40;
n = scanf(" %d %x %0", &i, &j, &k);
printf("\n%d values read.", n);
printf("\ni = %d j = %d k = %d\n", i, j, k);
getch();
}
OUTPUT:
1
0 values read.
i=10 j=20 k=30