Do the destructor can throw an exception in c++
C Software Developer Interview Questions
396 c software developer interview questions shared by candidates
c++ programming algorithm data structure
I can't disclose as their policy. But the assignment was pretty well designed. It was tricky but I can say it was not that difficult. Maybe 10 lines of code as total. They give you 9 hours to solve the problem. It took me less than an hour.
coding task
Tell us about your last position at X company
Given code, determine the value of the variable printed and explain.
Mostly, C++ questions and algorithms
Deadlock in multithread
prove angle subtended by a semicircle is a right angle
Identify memory leak: // this function has a memory leak. Can you find it? int i = 5; // <-- char *pszString = (char *)malloc(32); memset(pszString, 0, sizeof(32)); strcpy(pszString, "hi"); if (i > 5) { sprintf(pszString, "%i is greater than 5", i); printf("%s\n", pszString); free(pszString); } else if (i < 5) { sprintf(pszString, "%i is less than 5", i); printf("%s\n", pszString); free(pszString); } }
Viewing 121 - 130 interview questions