Essential string interview questions in c.

Essential string interview questions in c

  1. What is String in c and c++?

  2. Which is safe char array or string for storing password?

  1. Write an efficient c program to find duplicate characters in a string?

  2. Write a c/c++ program to reverse a string using recursion? ( http://wikistack.com/write-recursive-function-reverse-string-c/)

  3. Given a string e.g. ABCDAABCD. Shuffle the string so that no two similar letters together?

  4. Write c program to check if string is palindrome ? (http://wikistack.com/c-program-palindrome/)

  5. Write c program to compute all permutation of string? ( http://wikistack.com/write-a-c-program-to-print-all-permutations-of-a-given-string/)

  6. Write c program to compute all combination of string? (http://wikistack.com/print-combinations-of-string-taken-r-at-a-time-in-c/)

  7. Write c program to compute all combination of string taken r at a time where r is chosen number?

  8. How to determine if String has all unique characters?

  9. Check if String is Null or Empty in c?

  10. Write a recursive function to reverse a string in c? Time Complexity: O(n)

  1. Write a c program to count the number of words in a string?

  2. Write a c program to remove spaces in string ? Write most efficient way to remove spaces from a string in C?




Related Contents to follow