U E D R , A S I H C RSS

데블스캠프2006/화요일/pointer/문제2/성우용

No older revisions available

No older revisions available



~cpp
#include<iostream>
using namespace std;

void main()
{
	int i;
	char a[8]="reverse";
	char b[8];

		cout<<a;
		cout<<"\n";
	for(i=0;i<7;i++)
		b[i] = a[6-i];
		b[7] = '\0';
		cout<<b;
		cout<<"\n";	
}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:06
Processing time 0.0201 sec