Embedded software engineer Interview Questions | Glassdoor

Embedded software engineer Interview Questions

571

embedded software engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Given the following struct definition in C, what would sizeof(myStruct) return? typedef struct { short a; long b; char c; } myStruct;

7 Answers

(Hint: you have to keep in mind the rules of byte padding since #pragma pack(1) is not called)

11 byte

I guess its 18 as byte padding will happen for the char (2 for short, 8 for long, 8 byte for padded char)

reverse bits of an integer that is a power of 2 , keeping complexity in mind.

4 Answers

A brain teaser question where we have to find out 45 minutes with the help of two ropes. Given that one rope burns completely in 1 Hr and the rate or burning is not consistent.

4 Answers

What does memcpy return?

3 Answers

what is volatile, static ? how would it affect if the static keyword used for big array inside a function? what are sections of memory and what kind of variable is stored where?

3 Answers

various synchronization methods used in programming

3 Answers

white board: find the first non-recurring character in a string. i.e. input "abbcdcaea" would return "d"

4 Answers

white board: swap the values of two pointers without a temp variable

4 Answers

Reverse a linked list Array and string manipulation

3 Answers

Write a program to test endianess of storage.

3 Answers
110 of 571 Interview Questions