Electronics firmware engineer - interview questions - 13

Electronics firmware engineer - interview questions - 13

 

233. How "Free" function knows exact memory on "Heap" to be deallocated?
234. What happens when we call a function in C?
235. How can we return multiple values from a function in C?
236. What will happen if memory regions "Heap" and "Stack" overlap with each other?
237. Explain segmentation fault in C
238. Why "string literals" cannot be modified?
239. How will you call a function before main() in C?
240. How will you override an existing macro in C?
241. What are "Memory Leaks"?
242. How to prevent "Memory Leaks"?
243. What is NULL pointer assignment in C?
244. What is NULL pointer Exception in C?
245. Why pointer arithmetic cannot be performed on "Void Pointer"?
246. How "Dynamic Linking" is different from "Static Linking"?

Questions contributed by Abhishek Mane.
Reach out to him on his LinkedIn profile page:

Post a Comment

0 Comments