Want a Free Job Posting?

Buy a job posting today and the second one is on us. For a limited time only. Act Now.

c Interview Questions

Sort: Popular Date
Sort: Popular Date

“write a C function to define strcmp(char *s1, char *s2) to return negative if s1 is smaller, positive if s2 is greater and 0 if they are equal.”

“Given a sorted array of integers, write a function to remove any duplicates (e.g. 1,2,3,3,3,4,4,5 would go to 1,2,3,4,5)”

“why C++ deconstructor defined as virtual”

“Given a time-ordered log of user visits to web pages find the most common 3-page sequence”

“write a function to set a particular field of register to the desired value. ( For example, set bit 3 - 10 of a word to the given value)”

“Difference between Heap and Stack”

“implement your version of memcpy()”

“When the keyword static is used in C?”

“What is the output from this code (assume int is 32 bit) int f(int n) { return n * f(n-1); } print(f(100));”

4150 of 275 Interview Questions