Software C Interview Questions

5,475 software c interview questions shared by candidates

Siemens: 1) Inheritance using private, protected, public for child class what is the scope for all. 2) can private parent class be accessible by child class. Yes/No. If yes then how. If no then why? 3) c program on double linked list to find minimum of all list using double pointer. 4) pointer to pointer what is the output 5) Socket programming any idea? 6) What is context switching 7) communication protocol. 8) oops concepts
avatar

C/C++ Embedded Developer

Interviewed at Siemens

4.1
May 9, 2021

Siemens: 1) Inheritance using private, protected, public for child class what is the scope for all. 2) can private parent class be accessible by child class. Yes/No. If yes then how. If no then why? 3) c program on double linked list to find minimum of all list using double pointer. 4) pointer to pointer what is the output 5) Socket programming any idea? 6) What is context switching 7) communication protocol. 8) oops concepts

What will be printed to the Console at the end of this code? int global = 0; Thread t1 = new Thread(() => { int local = 0; while(global < 3) { local += 1; global += 1; } Console.WriteLine(local); }); Thread t2 = new Thread(() => { global += 1; }); t1.Start(); t2.Start();
avatar

Junior C# and .NET developer

Interviewed at NiCE

3.9
Jun 6, 2024

What will be printed to the Console at the end of this code? int global = 0; Thread t1 = new Thread(() => { int local = 0; while(global < 3) { local += 1; global += 1; } Console.WriteLine(local); }); Thread t2 = new Thread(() => { global += 1; }); t1.Start(); t2.Start();

Viewing 5401 - 5410 interview questions

Glassdoor has 5,475 interview questions and reports from Software c interviews. Prepare for your interview. Get hired. Love your job.