Find a software bug from a code snippet. The code had something to do with malloc and calloc.
Junior Embedded Software Engineer Interview Questions
6,949 junior embedded software engineer interview questions shared by candidates
Given a 32-bit register, bits 11:8 are PART_NUM and bits 7:0 are PART_REV. Output a 32bit value in the following format: [0000][0000][0000][0000][0000][0000][PART_FAM][PART_NUM] What is the minimum number of lines to write this function?
most question were based on C and OS related question. volatile, static, Linked list, stack, queues, context switching, Strings,
c++ questions
Embedded related questions. Architecture System Design Memory management
One questioner asked how to modify a malloc to guarantee that it was 32-byte aligned. Was not prepared for it, though the question itself was not that difficult.
One unexpected question was related to 'timing', in which the processor is supposed to poll a bunch of peripherals running at different clock rates, for status.
Some link list base question
C programming questions, Bit manipulations stuff etc
Write a Link List for deleting a node
Viewing 5511 - 5520 interview questions