Advanced Quiz 4
1. Explain the placement new operator concept (from C++) and how it relates to explicit memory management in C.
2. What are weak symbols in the context of linking C programs?
3. What is the purpose of assert() macro in C?
4. Explain the difference between a macro and a function in C.
5. What is pointer aliasing and why is it a concern?
6. Describe atomic operations and why they are important in concurrent programming.
7. What is the purpose of re-entrant functions?
8. Explain the use of va_list, va_start, va_arg, and va_end.
9. What is the offsetof operator and its utility?
10. Differentiate between lvalue and rvalue in C expressions.
Previous Next