I was trying to build a class, which has a public function, that can access the private array members according to index.
#include #include &