#include /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; int main(int argc, char** argv) { int *ptr, *vtr, vtrSize; cout << "Entre com o tamanho do vetor a ser criado" << endl; cin >> vtrSize; if(vtrSize>1) vtr=new int[vtrSize]; else vtr=new int; ptr=vtr; for(int i=0; i