alternatively refer in C2 to the cell B2 =B2. And in cell C3 =C2+B3 and this you can drag down.
This might be better in case you are dealing with large columns in large files with lots of formulas. The formula presented by S.Das references more and more cell addresses each time it continues down. This could become a problem in large files, since it consumes more memory.