ed in c