how to write out a tokenized string
===

I am quite new to C and any examples I have found of my problem didn't seem to work, or I completely misunderstood what that solution was.  I have a large file with data that looks like:

LYS  24L  HB2  45.212   39.585  124.457 SC0  0.145 -0.795  0.585  0.157

on each line.  I have tokenized the data already using strtok. What I need is from the second field, I wish to have the 24 stored as an integer for comparison, and the L to be stored as a char for comparison as well.  

I tried using 

    sscanf(token[1], "%d%s", number, letter);

but I keep getting Segmentation fault error.  Also upon further experimenting with sscanf i tried simply to print out "LYS" (in attempt to further understand my problem) however my program would only print L using the following command:

    sscanf(token[0], "%c", &stemp);
    letter = stemp;
    printf("%c \n", letter);

However if change %c ---> %s (hoping to obtain the whole string) then I obtain the Segmentation fault error once again ... Is there something I do not understand about the sscanf command?  Why can i not read in a full string??  Thank you in advance for your time and help!!

Paul
