Let be the context free grammar. Now I have to check whether is decidable or not? My approach .Now not closed under complement. Therefore is undecidable.

Now if be DCFG,then .Now closed under complement because of DCFL.Therefore is decidable. Don’t know my approach is right or not, it wrong correct me.