Here is the start of my C code. I only post the first few lines cause I finally pinned down the error to this mess.
I am using bcc32 from the command line, I delete obj and tds files between compiles and still get bogus results: what am i doing wrong?? (stdio is included)
int main ()
{
int n = 0;
int d = 0;
int m = 0;
int y = 0;
int day;
char* answer;
int z = 0;
printf("Enter the day date in numeric format \n");
scanf("%d",&d);
printf("Enter the month in numeric format \n");
scanf("%d",&m);
printf("You entered %d \n",&m);
I always end up with a huge number 168000 on the last printf statement even when 1 is entered at the prompt.