TP VISION INTERVIEW QUESTIONS


C

1)Write a Program to find the sum of digits?

2)Write a Program to Implement strcat userdefined?

3)Sort the given array and remove the duplicate elements?

4)Difference between getc,getchar,getch?

5)Difference between printf,fprintf,sprintf?

6)Difference between scanf,fscanf,sscanf?

7)Program for string palindrome using function if the string is palindrome return 1 else return 0?

8)Program for balanced parenthesis using fucntion if the string is "[ ]" return 1 else "[ }" 
return 0?

9)Program for largest prime factor of a number using functions?

10)What is volatile?

11)What is pointers and use?

C++

1)Why do we need friend function?

Data Structure

1)Write a Program to delete the node from specified position/insert the node at specified position?

2)Write a program for the data structure having phone number and name.Print the phone number if the user enter the name of person(Assume certain conditions)?

Linux

1)Difference between semaphore and mutex?

2)About Memory Management Unit in OS?

3)Explain about pipe mechanism?

4)Questions on Deadlock,Dead lock Prevention?

5)for(i=0;i<n;i++)
     fork();
How Many child processes will create?

6)What is a swap space?