0% found this document useful (0 votes)
3 views14 pages

Some Class 11 Basic STRING Questions and Codes of C Program

The document contains a list of programming tasks related to string manipulation in C. It includes operations such as inputting strings, finding string lengths, reversing strings, converting cases, copying strings, comparing ASCII values, concatenating strings, counting characters, checking for palindromes, and sorting names. Each task specifies the functions to be used and the expected outcomes.

Uploaded by

Prashant Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views14 pages

Some Class 11 Basic STRING Questions and Codes of C Program

The document contains a list of programming tasks related to string manipulation in C. It includes operations such as inputting strings, finding string lengths, reversing strings, converting cases, copying strings, comparing ASCII values, concatenating strings, counting characters, checking for palindromes, and sorting names. Each task specifies the functions to be used and the expected outcomes.

Uploaded by

Prashant Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

1. WAP to input any five strings and print them.

2. WAP to find length of entered string using strlen().


3. WAP to read a string with space and reverse that using
strrev().
4. WAP to read a string and convert that into lower case and
upper case.
[use strlwr() and strupr()]
5. WAP to copy a string into another variable using strcpy().
6. Input any two strings and know which has greater ASCII value.
[Note: use strcmp()]
7. Read a string with space and concatenate with another string
using strcat().
8. Input a string and find total length without using strlen().
[Note: use loop with null concept]
9. Input a string and find total number of digits, vowels and
consonants.[use
null and ASCII value with loop]
10.Wap to know whether a string is palindrome or not.
11.WAP to convert a string into lowercase without using strlwr().
12.WAP to input a string with space and print that in uppercase
and lowercase alternatively. E.g. For Kathmandu, the output
would be KaThMaNdU.

13.WAP to input any ten names of students and arrange them in


descending/ascending order.

14.WAP to input any ten strings and search a string in that list.

You might also like