測試字體


你的程序代碼如下,請測試

int zhoe_arrcopy(char d[],char a[],char b[],char c[],int a_count,int b_count,int c_count)

{
    
    int i=0;    
    
    for(i=0;i<a_count;i++)
        
    {
            
        d[i]=a[i];
        
    }
    
    for(i=0;i<b_count;i++)
        
    {
            
        d[i+a_count]=b[i];
        
    }
    
    for(i=0;i<c_count;i++)
        
    {
            
        d[i+a_count+b_count]=c[i];
        
    }

    
    return 0;

}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章