Question.2
A developer marks a 50-line function with loops and switch-cases as inline:
inline void process_packet(uint8_t *buf, int len) {
// 50 lines with loops and switch
for (int i = 0; i < len; i++) {
switch (buf[i]) { /* ... */ }
}
}Will the compiler inline this?