Breaking News

Sunday, 13 December 2015

Insert Array menggunakan new Int

#include <conio.h>
#include <iostream.h>

int main()
{
int **p=new int*[5];

for (int i=0; i<5; i++)
{
p[i]=new int[5];
}

   p[0][0] = 1;

   cout<<p[0][0];
 getch();
 return 0;
}

No comments:

Post a Comment

Designed By Fakhri Akbar