can I give the exam if i fail in class 12 cbse and even another year
You can't take JEE exam if you fail in Boards. The minimum eligibility criteria for a general candudate is 75% marks in Boards. You can apply for compartment and improvement exams whatever are the options provided by the CBSE board and take the exam next year.
Hope this helped!