문제 2번~
~cpp
#include<iostream> 
using namespace std; 

int main() 
{ 
    char str[6]="abced" ,a[6]={0,}; 
    int i; 

     
    for(i=4; i>=0 ; i--) 
    { 
        a[4-i]=str[i]; 

    } 

    cout <<a; 

    return 0; 



} 
Retrieved from http://wiki.zeropage.org/wiki.php/데블스캠프2006/화요일/pointer/문제2/주소영
last modified 2021-02-07 05:29:06