编辑代码

#include <stdio.h>
int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
    printf("Hello world!     - c.jsrun.net.");
    int *p=new int[5];
    p=new int[10];
    cout<<sizeof(p)/sizeof(p[0]);
    return 0;
}