Integration In Arduino

we need to integrate the output of our accelerometer sensor into displacement. but we are unable to understand how to carry out integration in arduino C++ coding?

Same as in ordinary C++ coding.

we are unable to understand how to carry out integration in arduino C++ coding

Is that a question, or a statement?

If it is a statement, well that is certainly sad.

If it is a question, could you please state which of the 22 million hits on "c++ integration" that you get on Google, were not helpful?