The question is impossible to answer. You cannot determine an algorithm from a given program if the program is not actually given in the question. Please place the program in the discussion section.
it is a step by step program written in simple English for our understanding
Some C programs can be compiled in C++, yes.
Yes.
Writing programs in it.
Writing computer-programs in it.
The best programs are written by humans, not by softwares.
Yes.
C++ compiler, obviously, a C compiler won't do.
Human activity that ends in producing C++ programs.
Any thing and everything. As many as needed.
There is a special function for it. It's called sort(...). You need to include algorithms header in your project.
Device drivers.