How to C in 2016
Declare variable in any block
void test(uint8_t input) {
uint32_t b;
if (input > 3) {
return;
}
b = input;
}void test(uint8_t input) {
if (input > 3) {
return;
}
uint32_t b = input;
}For counter variable
Array initialization
Structure initialization
Function input type
Return Type
Coding style
Allocation
Last updated