If you simply visualize this question in the following way, it becomes very easy.
S = 1+2+3+...+n
A = 1+2+3+...+a
B = a+...+n
Now option (a), A + B = (1+2+3+...+a) + (a+...+n) ,so you see a gets counted twice thus this option is wrong.
Now option (b), = (1+2+3+...+a-1) + a + (a+...+n) ,here also a gets counted twice so this one is wrong too.
Now option (c), = (1+2+3+...+a-1) + (a+...+n) ,this one is a continuous series hence it's correct.
Now option (d), A + B – f(a) = (1+2+3+...+a) + (a+...+n) – a ,this is correct as the extra a is subtracted.
Hence correct options are (c) and (d)