Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
217 B
1
Indexable
Never
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(void){
    int a[]={1,2,3,4,5};
    int b[5];
    // b = a ; // I know this will not work.
    
    memcpy(b, a, sizeof(int)* 5);
    
    return 0;

}