France had been guaranteed a place in the knockout stage before the match while a draw was enough for Denmark to eliminate the other two Group C teams, Australia and Peru.
France, who finished in the first place, will next play the Group D runners-up, while Denmark will face the winners of that group.
READ MORE: Peru Beat Australia 2-0 as Both Teams Exit FIFA World Cup
Denmark defeated Peru 1-0 on June and then ended the match with Australia in a draw on June 21.
At the same time, France managed to defeat Australia 2-1 and then gained the victory over Peru 1-0 on the same days.
The 2018 FIFA World Cup kicked off on June 14 and will continue until July 15, with the matches being played in 11 cities across Russia.