Can we increment a void pointer. Size of void pointer
Firmware Development Engineer Interview Questions
2,356 firmware development engineer interview questions shared by candidates
Embedded Systems questions,DSA :- C++,linked lists,graphs,OOPs,C programming.
Q: Asked about your resume achievements and projects.
1. Different sections of memory like code, data, stack etc 2. what is bss section, what is stored in that 3. How a volatile keyword prevents optimization, give an example 4. How to detect a stack overflow. How to calculate stack size needed for your system. 5. While executing a firmware and stop at a breakpoint how to find what is the max stack size reached so far. 6.Given an integer of 32bits, start bit position and end bit position, clear all the bits between start and end bits including those two. 7.What is the value of A-val and B-val in the below code void fun(char* p) { printf("B-val %d",(int)sizeof(*p)); } int main() { char table[8][8] = {1,2,3,4,5,6,7,8}; char *p = &table[0][0]; printf("A-val %d",*(p+4)); fun(p); return 0; }
they asked only about the c programming . then your projects which will be you plus points.
If there is no such thing like malloc how would you allocate memory
Find the number of 1 bits and 0 bits in a 32 bit integer in c or c++
Which is more dangerous V or I
A low-level C++ for loop and other data structure-related questions
C programming (pointers, memory management, bitwise, structures)
Viewing 731 - 740 interview questions