Dear Student
According to molecular orbital theory,
The electronic configuration of diatomic C2 molecule is as follows:
And as the bond order = (No. of bonding electrons - No. of antibonding electrons) / 2
= ( 8 -4)/ 2
= 2
So, the bond order is 2
Regards