U E D R , A S I H C RSS

데블스캠프2006/화요일/pointer/문제2/주소영

문제 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; 



} 
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:06
Processing time 0.0127 sec