Untitled

Anonymous
c_cpp
03/17/2023 3:12 AM
292 B
10
Indexable
#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;

}
Editor is loading...