implement malloc func that get an integer and return the malloc allocated address value aligned to that number
Firmware Engineer Interview Questions
2,133 firmware engineer interview questions shared by candidates
implement the free func of that malloc
How much experience with C programming?
Asked about Aligned malloc problem.
TASK: have three threads print in order the following string using C "123123123......"
1) Stack vs Ques 2) Mutex and Semaphores 3) GPIO vs RTOS 4) Write a code for Endianness?
How many hw threads. How do sw thread interact. Do they share memory and so on
Questions sur les produits qu'offrent Ledger. Pour le technique, problèmes type Leetcode
Asked me to verify an IP address according to rules given.
1. What are the various memory segments of a C program? 2. What are the design constraints while implementing an ISR? 3. What are the contents of vtable? 4. What is a copy constructor and why we need it? 5. How to achieve Encapsulation in C? 6. define function pointer returing char* and takes two int arguments 7. Define and declaration of a HW Register of type integer to be placed at 0x41038000; volatile int *HW_Register; HW_Register = (uint32_t *)0x41038000 8. Any error in below code? #include <stdio.h> int main () { char a [] = {'h','e','l','l', 'o'}; char * b = "Hello"; printf("%d %d", sizeof (a), sizeof(b)); strcat (a, "world"); strcat (b, "world"); } 9. Difference between Thread & Process? RTOS 10. What are the various IPC mechanisms available and which is the fastest? 11. what is the difference between Mutex, Semaphore, Binary semaphore? 12. Difference between blocking and non-blocking socket? What are the socket APIs used? 13. How to achieve multiplexing in sockets? Explain briefly 14. While designing a task how do you decide to go for event driven approach or polling? Can you give an example for each scenario? 15. How to fast Producer and slow consumer problem in flow control context in high speed ethernet connection? 16. Explain SOLID principles with an example for each? 17. Write a program to generate a hex-coded string of a given integer Ex: Input: 100 Output: 0x64 18. Remove all special characters from a given string buffer without using additional buffer Eg.: Input: “12?45*AB-“ Output: “1245AB” 19. Reverse the bit sequence in the given integer Eg.: 10110110 (or) 0xB6 01101101 (or) 0x6B 20. Write a class for implements stack with push, pop, length, isempty, isfull methods
Viewing 2111 - 2120 interview questions