I this post we have provided part 2 of the C programs most commonly asked in interview along with answers. We recommend you to try to answer the questions, before referring to the given answer. If you find any mistake or a better alternate solution we are happy to see your suggestions and comments

1. Write the implementation of strcmp() function

2. Write the implementation of strncmp() function

3. Write the implementation of strstr() function

4. Write a function to search a sub string from reverse

check again later

5. Write a function to convert a given string to lower case

6. Write a function to convert a given string to upper case

7. Write a function to reverse a given string

8. Write a function to function if a given string is palindrome

9. Write the implementation of itoa() function

10. Write a function to trim leading space