I'm using DJGPP C compiler. Trying sample code. I don't know why this code when run will not let me input the second string to compare. It just seems to automatically hit enter on it and go to asking for input on # of characters to compare.
printf("\nEnter first string to compare :");
printf("\nEnter second string to compare :");
printf("\nEnter the number of characters to compare :");
printf("The first %d characters of String 1 equals String 2\n",length);