Hello, I have problem with "struct" function. I cannot use array inside struct function as following code.
struct test{ int k1; char c1; unsigned char str1[10]={0xf9,0xa4,0xb0,0x99}; }st1;
"I have problem with 'struct' function." It sounds like you actually have basic problems with the 'C' programming language. You need to step back and get a good 'C' textbook! NB: "struct" is not a "funcion" You need to initialise the structure as a whole, not the individual elements within it - see that 'C' textbook!