U E D R , A S I H C RSS

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

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

~cpp
#include <iostream>
using namespace std;

void main()
{
	char a[6] = "abcde";
	char b[6];
	int i;
	
	for(i=4; i>=0; i--)
	{
		b[4-i] = a[i];

	}
	b[5]=a[5];

	cout << b << endl;
}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:06
Processing time 0.0171 sec