This rarely happens. A person should not study engg. at all then. Anyway, if this happens, probably you have to appear for your exams again (not so sure).
In college or in board???