ivity in c