Angular Array Get Last Element Of Vector In C