#include<iostream>
using namespace std;
// results in #NullTrace but works when func's contents are INLINED into main
void func() {
int *p, *numbers;
p=numbers=new int[10];
*p=782;
*p+=2;
*(p+2)=59;
p++;
*(p)=503;
*(p)+=1;
for(int n=0; n<3; n++)
cout<<numbers[n]<<",";
delete p;
}
int main() {
func();
return 0;
}
C++