int x[10],y[10]; x = y;
I mean a simple hack that will allow me to get this effect.
You can wrap them in structto use a simple assignment:
struct
struct foo { int a[10]; } x, y; x = y;
But really just use it memcpy.
memcpy
You need to use memcpy(or memmove) to transfer the memory block.
memmove
memcpy(x, y, sizeof(x));
memcpy() for (i = 0; < 10; ++)
Source: https://habr.com/ru/post/1730732/More articles:Best output format for Xargs - linuxjQuery closest () doesn't work for me (or I don't work for it) - javascriptклавиатура не появляется при нажатии uitextfield - objective-cJython application package as a JAR in Netbeans - jarHow to remove from registry using C # - c #Как загрузить LOCAL.html файл с помощью UIWebview? - iphonehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1730734/unable-to-pass-none-string-parameters-to-tag-files&usg=ALkJrhjgd32SiwaM2y2_XPa5ZbPFmFPl4AHow can I stop javascript interpretation after a certain point? - javascriptI want to change the way text is presented inside ANY text editor - vimhttplistener not working on port 80? - .netAll Articles