int *a = new int[4];
for(int i=0;i<4;i++)
{
a[i] = i;
printf("a[%d]=%d\n", i, i);
}

delete[] a;

return 0;

相关文章:

  • 2021-04-14
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案