Storing entire one array into one cell of another array

Take for example two arrays.
int A[2][2][2] = { {{1, 2}, {3, 4}},{{ 5, 6}, {7, 8}} };
int B[1]

I want to store the entire array "A" into B[1]. Is it possible?
Last edited on
It is impossible because array b has only one element while array a has 8 elements.:)
Last edited on
I am sorry! There is a way to store the whole array A in B[1].
As array A has values in order from 1 to 8 then their sum will be equal to 36. You can store in B[1] this sum.:)
Topic archived. No new replies allowed.