auto_ptr<int> pia- new int[20]; // wrong, use with new, not new[]
auto_ptr<string> (new string); // wrong, no name for pointer
int rigue = 7;
auto_ptr<int>pr(&rigue); // wrong, memory not allocated by new
auto_ptr db1 (new double); // wrong, omits <double>