Valeo Interview Question

Rtos,memory sections,structure hacking, keypad, lcd,uart,spi,sharing memory between modules,static,volatile,extern,code to reverse a no,code to create linkedlist and reverse it,code to manipulate structures members

Interview Answer

Anonymous

Jul 10, 2016

Memory Sections in Microcontroller: .text section .data section .bss section .eeprom section .noinit section .initN section .finiN section --------------------------- struct hack is a way to make a struct with variable size (by making the last element of it an array (even a defined size of array elements or you can declare this array "arr[]" of undefined size and make size changes in runtime and this is allowed only in c99)) -----------------------