Go through latest question of c n c++ from companies
u will get the total idea

best of luck