Software Developer C Interview Questions

1,023 software developer c interview questions shared by candidates

Shortest path in graph: /// /// graph is a function that accepts the node name, and int*. It returns the /// neighbors of the node and the length of the neighbors in the int* /// /// Name of start node /// Name of goal node /// /// The shortest path with format start->...->goal char *shortestPath(Inner *(*graph)(const char *, int *), const char *start, const char *goal) { // int neighborsLength; // Inner *neighbors = graph(start, &neighborsLength); // std::cout << "name: " << neighbors[0].name << neighbors[0].cost << " // length: " << neighborsLength << std::endl; std::cout << "name: " << // neighbors[1].name << neighbors[1].cost << " length: " << neighborsLength // << std::endl; // neighbors = graph(neighbors[0].name.c_str(), &neighborsLength); // std::cout << "name: " << neighbors[0].name << neighbors[0].cost << " // length: " << neighborsLength << std::endl; std::cout << "name: " << // neighbors[1].name << neighbors[1].cost << " length: " << neighborsLength // << std::endl;
avatar

Junior Software Developer (C++)

Interviewed at Accelya Group

3.4
Aug 15, 2024

Shortest path in graph: /// /// graph is a function that accepts the node name, and int*. It returns the /// neighbors of the node and the length of the neighbors in the int* /// /// Name of start node /// Name of goal node /// /// The shortest path with format start->...->goal char *shortestPath(Inner *(*graph)(const char *, int *), const char *start, const char *goal) { // int neighborsLength; // Inner *neighbors = graph(start, &neighborsLength); // std::cout << "name: " << neighbors[0].name << neighbors[0].cost << " // length: " << neighborsLength << std::endl; std::cout << "name: " << // neighbors[1].name << neighbors[1].cost << " length: " << neighborsLength // << std::endl; // neighbors = graph(neighbors[0].name.c_str(), &neighborsLength); // std::cout << "name: " << neighbors[0].name << neighbors[0].cost << " // length: " << neighborsLength << std::endl; std::cout << "name: " << // neighbors[1].name << neighbors[1].cost << " length: " << neighborsLength // << std::endl;

The interview process was hassle-free, but the interviewer was hasty in forming judgments and didn't provide an opportunity for the interviewee to ask questions. Additionally, the interviewer seemed rushed to conclude the call, possibly because it was more of a "get to know you" session rather than a formal interview.
avatar

C# Software Developer

Interviewed at Siemens

4.3
May 23, 2023

The interview process was hassle-free, but the interviewer was hasty in forming judgments and didn't provide an opportunity for the interviewee to ask questions. Additionally, the interviewer seemed rushed to conclude the call, possibly because it was more of a "get to know you" session rather than a formal interview.

In technical interview round, I found it difficult. Basic sql questions and Linux questions. I was asked to find second highest salary from a table. Common utilities in Linux. Project related questions. Advanced c++ topics such as smart pointers, STL, etc
avatar

Software Engineer(C, C++)

Interviewed at Jeavio

4.5
Apr 25, 2022

In technical interview round, I found it difficult. Basic sql questions and Linux questions. I was asked to find second highest salary from a table. Common utilities in Linux. Project related questions. Advanced c++ topics such as smart pointers, STL, etc

Viewing 681 - 690 interview questions

Glassdoor has 1,023 interview questions and reports from Software developer c interviews. Prepare for your interview. Get hired. Love your job.