An Ascaris male is smaller compared to an Ascaris female.
The posterior end of the male is curved whereas the female's is straight.
-> sorry, i forgot the other differences. I know there's something about their gonads other than the obvious male and female reproductive parts but I can't remember. I'll try checking my notes. :)