Team Lead and Developer

Team Lead and Developer Interview Questions and Answers

Updated 9 Jul 2025
6d ago

Q. What is C data structure, write a program to reverse single linked list.

Ans.

C data structure is a way to organize and store data in memory. Reversing a single linked list involves changing the direction of pointers to traverse the list in reverse order.

  • Define a struct Node with data and next pointer

  • Initialize three pointers prev, current, and next to NULL, head, and head->next respectively

  • Iterate through the list, updating pointers to reverse the list

  • Update head to point to prev at the end of the iteration

Asked in Accenture

3d ago

Q. What is cursor stored procedure and function different type of joins and complex queries

Ans.

Cursor stored procedure is used to iterate through a result set. Different types of joins include inner, outer, left, right, and cross. Complex queries involve multiple tables and conditions.

  • Cursor stored procedure is used to fetch and process each row of a result set one at a time

  • Inner join returns only the matching rows from both tables

  • Outer join returns all the rows from one table and matching rows from the other table

  • Left join returns all the rows from the left table and ...read more

2d ago

Q. What is a socket? Explain with different calls.

Ans.

A socket is a communication endpoint that allows two processes to communicate with each other.

  • A socket is identified by an IP address and a port number.

  • Different socket calls include socket(), bind(), listen(), accept(), connect(), send(), and recv().

  • socket(): Creates a new socket.

  • bind(): Binds a socket to a specific IP address and port number.

  • listen(): Listens for incoming connections on a socket.

  • accept(): Accepts an incoming connection on a socket.

  • connect(): Initiates a con...read more

3d ago

Q. What is a fork, and can you explain it?

Ans.

Fork is a system call in Unix-like operating systems that creates a new process by duplicating the existing process.

  • Fork is used to create a new process that is a copy of the calling process.

  • The new process created by fork has its own memory space and runs independently of the parent process.

  • Fork returns different values in the parent and child processes to distinguish between them.

  • Commonly used in creating multi-process applications or forking a process to run in the backgro...read more

Are these interview questions helpful?

Interview Experiences of Popular Companies

Accenture Logo
3.7
 • 8.7k Interviews
Tech Mahindra Logo
3.5
 • 4.1k Interviews
Jio Logo
4.1
 • 2.3k Interviews
Ernst & Young Logo
3.4
 • 1.2k Interviews
Coforge Logo
3.3
 • 589 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Team Lead and Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits