OpenText Interview Question

Q. Explain bubble sort, selection sort, insertion sort and difference between them. Q. What is the difference between class, abstract class and interface along with there use. Q. Given a sentence reverse all the words in it using recursion.

Interview Answer

Anonymous

Jul 16, 2018

void reverse(char *str) { if (*str) { reverse(str+1); printf("%c", *str); } }

10