The correct option is B p=1462
Total number of boys and girls =6+6=12
Total cases n=12!
Since the boys and girls can sit alternately in 6! 6! ways if we begin with a boy and similarly they can sit alternately in 6! 6! ways if we begin with a girl.
m=2×6!6!
Hence p=mn=2×6!6!12!
p=1462