What is the output of the following code snippet?
listnumberlist;
int i;
for (i = 0; i< 10; i++)
{
numberlist.push_back(i);
}
list::iterator p;
p = numberlist.begin();
while (p != numberlist.end())
{
p++;
cout << *p;
p++;
}