1.write a function which returns the occurrence of first non-repetitive character from a given string. Function will return space(' ') if there is no such character found. And characters are case sensitive 'a' is not equal to 'A'.
2. Write a program to find the longest palindrome in any given string. Ex:forgeeksskeegfor Ans: geeksskeeg.
3. Program for putting bits into buffer. This is useful in compression of data, avoide wastage of bits. This program will work for any 32-bits integers.
4. Write your own strcat function .
5. Write your own strcmp function.
6. sort all given strings.
7. Sort all characters in a given string.
8. write a program to remove particular character from a given string.
9. Reverse all words in a given string.
10. write your own memmove program without overlapping constrain.
11. count all repeated character in a given string.
12. Write a program which count all consecutive characters in a given string and write display string as in given example. e.g str = "aaabbbcc"; O/P string is "3a3b2c".
13. string reverse in c.
2. Write a program to find the longest palindrome in any given string. Ex:forgeeksskeegfor Ans: geeksskeeg.
3. Program for putting bits into buffer. This is useful in compression of data, avoide wastage of bits. This program will work for any 32-bits integers.
4. Write your own strcat function .
5. Write your own strcmp function.
6. sort all given strings.
7. Sort all characters in a given string.
8. write a program to remove particular character from a given string.
9. Reverse all words in a given string.
10. write your own memmove program without overlapping constrain.
11. count all repeated character in a given string.
12. Write a program which count all consecutive characters in a given string and write display string as in given example. e.g str = "aaabbbcc"; O/P string is "3a3b2c".
13. string reverse in c.
No comments:
Post a Comment