U E D R , A S I H C RSS

데블스캠프2006/화요일/pointer/문제3/이송희

데블스캠프2006/화요일/pointer/문제3/이송희

~cpp
#include <iostream>
using namespace std;

void main()
{
	int *a=new int[4];
	int *b=new int[4];
	int *c=new int[4];
	int i;

	
	for(i=0; i<4; i++)
	{
		a[i]=i;
		b[i]=i;
		c[i]=a[i]+b[i];
		cout << c[i];

	}
	cout << endl;

	delete [] a;
	delete [] b;
	delete [] c;

}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:19
Processing time 0.0084 sec