Correct Answer - A
Initial momentum of the system (block C) `= mv`
After striking with `A`, the block `C` comes to rest and now both blocl `A and B` moves with velocity momentum `V`, when compression in spring is maximum .
By the law of the conservation of linear momentum
`mv = (m + m) V implies V = (v)/(2)`
By the law conservation of energy
`KE`, of block C = K.E, of system + `PE` of system
` (1)/(2) mv^(2) =(1)/(2) (2m) V^(2) =(1)/(2) kx^(2)`
`(1)/(2) mv^(2) = (1)/(2) (2m) ((v)/(2))^(2) + (1)/(2) kx^(2)`
`implies kx^(2) = (1)/(2) mv^(2)`
` implies x = v sqrt((m)/(2k))`.