new if in c.cpp