After reading Salem's post about using -Wall with the gcc compiler I decided to give it a try. I'm getting a warning that has me a little confused.
The code for those two lines are:adt.c:104: warning: char format, different type arg (arg 2)
adt.c:106: warning: char format, different type arg (arg 2)
The two variables are:Code:printf(" Last Name: "); scanf("%s", &tln); printf(" First Name: "); scanf("%s", &tfn);
and name_len is defined by:Code:char tln[name_len], tfn[name_len];
Anyone want to venture a guess on what this means? ThanksCode:#define name_len 20