Correct option is D
For f(x) to be continuous at x=0, the following must hold:x→0limf(x)=f(0)So, we need to compute:x→0lim(xsinx+secx)Compute the Limit1. First Term (xsinx):x→0limxsinx=1(Standard limit)2. Second Term (secx):secx=cosx1x→0limsecx=cos01=13. Combined Limit:x→0lim(xsinx+secx)=1+1=2Assign a for ContinuityFor continuity at x=0:f(0)=x→0limf(x)⟹a=2