Which of the following element react with carbon to form ionic carbide?

a.
Na

b.
Li

c.
None of the above

d.
K

a. Na and d. K react with carbon to form ionic carbides (Na2C2 and KC8 respectively). Li does not form ionic carbides with carbon.