• Correction on "structs as return values"
    From a previous thread: "How the compiler implements this facet {stucts as return values} of ANSI C is of no concern to me unless I'm worried about efficiency." Reply: Great, another wrong sweeping...
  • Problem with structs as return values
    I am using functions, which returns structs. This shouldn't be a problem in C. And it works mostly. But are there contexts where this is not allowed? Maybe there a conflicts because those structs...
  • Correction on "structs as return values"
    From a previous thread: "How the compiler implements this facet {stucts as return values} of ANSI C is of no concern to me unless I'm worried about efficiency." Reply: Great, another wrong sweeping...
  • Problem with structs as return values
    I am using functions, which returns structs. This shouldn't be a problem in C. And it works mostly. But are there contexts where this is not allowed? Maybe there a conflicts because those structs...
  • struct function help
    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; ...