main (U
,C
) {
scanf(" %s",
C);sscanf(
C,"%x ",&
U
) ;
printf ( "%d ",U) ;
}
Runs in gcc and converts hex (input) to decimal(output).
This is my playground. Here you will find grass, swings, slides, aunties sitting and talking on benches, old people walking, young people jogging, pesky little kids playing cricket and of course Me. Return to your work now, or be trapped here forever.
No comments:
Post a Comment