Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
9.3 and {0}
#3
Would the following examples be compliant with rule #9.3?
Code:
char_t a[5] = { '\0' };

Code:
uint16_t a[3][2] = {0u};

Code:
static uint16_t glob_arr[3] = {0u};

Code:
float32_t a[3][2] = {0.0f};
<t></t>


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)