C Software Developer Interview Questions

3,509 c software developer interview questions shared by candidates

Total exp : 2 years Round 1 (Teams Call) Explain all types of polymorphism (compile-time and runtime). Difference between process and thread. Write code to simulate a race condition and resolve it using a mutex. Explain thread synchronization mechanisms: mutex,lock_guard,unique_lock,condition_variable Implement array multiplication in C++. Write a function to count the number of 1s in a binary number. Demonstrate operator overloading to add two complex numbers. Explain smart pointers (unique_ptr, shared_ptr, weak_ptr), including: The circular reference problem with shared_ptr. How to detect and fix it using weak_ptr (with code example). Given a class with a virtual destructor, predict the output of a sample code snippet involving inheritance and object deletion. Round 2 (Teams Call) Advanced C/C++, Embedded Systems & Hardware Concepts: Write code for an array of function pointers in C/C++. Code to read from and write to a specific memory address (e.g., 80000000). Can C return more than one type? (Explain limitations and workarounds.) Write Python code that returns multiple values (e.g., using tuples). What is Memory-Mapped I/O? Explain with examples. Demonstrate runtime polymorphism in C++ with a clear code example. List and explain the pins of an HDMI cable and their functions. What causes noise on electrical wires? Discuss sources and mitigation. Explain differential signaling and its advantages. What is SerDes ? Describe its role in high-speed communication. Discuss key camera parameters such as:White balanceExposureISOShutter speed I couldnt clear 2nd round. These are the questions i faced. it might help you. ALL THE BEST :)
avatar

C/C++ Developer

Interviewed at Embitel Technologies

3.5
Sep 29, 2025

Total exp : 2 years Round 1 (Teams Call) Explain all types of polymorphism (compile-time and runtime). Difference between process and thread. Write code to simulate a race condition and resolve it using a mutex. Explain thread synchronization mechanisms: mutex,lock_guard,unique_lock,condition_variable Implement array multiplication in C++. Write a function to count the number of 1s in a binary number. Demonstrate operator overloading to add two complex numbers. Explain smart pointers (unique_ptr, shared_ptr, weak_ptr), including: The circular reference problem with shared_ptr. How to detect and fix it using weak_ptr (with code example). Given a class with a virtual destructor, predict the output of a sample code snippet involving inheritance and object deletion. Round 2 (Teams Call) Advanced C/C++, Embedded Systems & Hardware Concepts: Write code for an array of function pointers in C/C++. Code to read from and write to a specific memory address (e.g., 80000000). Can C return more than one type? (Explain limitations and workarounds.) Write Python code that returns multiple values (e.g., using tuples). What is Memory-Mapped I/O? Explain with examples. Demonstrate runtime polymorphism in C++ with a clear code example. List and explain the pins of an HDMI cable and their functions. What causes noise on electrical wires? Discuss sources and mitigation. Explain differential signaling and its advantages. What is SerDes ? Describe its role in high-speed communication. Discuss key camera parameters such as:White balanceExposureISOShutter speed I couldnt clear 2nd round. These are the questions i faced. it might help you. ALL THE BEST :)

Viewing 1681 - 1690 interview questions

Glassdoor has 3,509 interview questions and reports from C software developer interviews. Prepare for your interview. Get hired. Love your job.