阅读背景:

string.h 的memcmp()和memcpy()的运用_zhencan的博客

来源:互联网 
    #include<stdio.h>  
    #include<stdlib.h>  
    #include<string.h>  
      
    int t = 0;  
      
    typedef struct node{  
        int a[10];  
    }Node;  
      
    int fun () {  
          
        return t = 1;  
    }  
    /* 
     
    string.h 的memcmp()和memcpy()的运用  
     
    */  
    int main () {  
          
        int i;  
          
        int a[] = {1,2,3,4,5};    //整形的运用   
        int b[] = {6,7,8,9};   
        int k;
        memcpy(b, a, sizeof(b));  
        
        printf("@%    #include<stdio.h>  
    #include<stdlib.h> 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: