im a bit confused by the following action
say i have a file
/////////////////////////////
20
34 04422886
/////////////////////////////

if i read this file using the following code

while(fgets(buff,95,infile)) {
sscanf(buff,"%x %x",&memAddress,&memContents);
if(memContents == -1){
/* code to skip first line */
}
else{
memAdd[i] = memAddress;
memCont[i] = memContents;
}

*note* i do have other error checking within this
block i reduced it to the most basic read stuff for posting
where memAddr should be 34
and memContents should be 04422886

and i do the folllowing

printf("memContents = %x\n", memCont[i]);

my output is
memContents = 4422886

what happened to the 0 that began the hexidecimal number