12. string

2
C Programming Assignment 12 String 1 Q1. Write a c program to convert the string from upper case to lower case. Q2. Write a c program to delete the all consonants from given string. Q3. Write a c program to sort the characters of a string. Q4. Write a c program for concatenation two strings. Q5. Write a c program to find the length of a string. Q6. Write a c program, which prints initial of any name. Q7. Write a c program to print the string from given character. Q8. Write a c program to reverse a string. Q9. Write a program to compare two strings. Q10. Write a program to copy one string into another. Q11. Write a program to Convert a string to ASCII in c Q12. Write a c program to Check if a given String is Palindrome. Q13. Write a c program to read two Strings & Concatenate the Strings Q14. Write a c program to Count the Number of Vowels & Consonants in a Sentence. Q15. Write a c program to Check if a String is a Palindrome without using the Built-in Function. Q16. Write a c program to Find the Frequency of the Word ‘the’ in a given Sentence. Q17. Write a c program to Reverse every Word of given String Q18. Write a c program to Search a Word & Replace it with the Specified Word. Designed by Er. Deep Raj Jangid

Upload: deep-raj-jangid

Post on 10-Apr-2016

217 views

Category:

Documents


0 download

DESCRIPTION

string

TRANSCRIPT

Page 1: 12. string

C ProgrammingAssignment 12 String 1

Q1. Write a c program to convert the string from upper case to lower case.

Q2. Write a c program to delete the all consonants from given string.

Q3. Write a c program to sort the characters of a string.

Q4. Write a c program for concatenation two strings.

Q5. Write a c program to find the length of a string.

Q6. Write a c program, which prints initial of any name.

Q7. Write a c program to print the string from given character.

Q8. Write a c program to reverse a string.

Q9. Write a program to compare two strings.

Q10. Write a program to copy one string into another.

Q11. Write a program to Convert a string to ASCII in c

Q12. Write a c program to Check if a given String is Palindrome.

Q13. Write a c program to read two Strings & Concatenate the Strings

Q14. Write a c program to Count the Number of Vowels & Consonants in a Sentence.

Q15. Write a c program to Check if a String is a Palindrome without using the Built-in

Function.

Q16. Write a c program to Find the Frequency of the Word ‘the’ in a given Sentence.

Q17. Write a c program to Reverse every Word of given String

Q18. Write a c program to Search a Word & Replace it with the Specified Word.

Designed by Er. Deep Raj Jangid