0% found this document useful (0 votes)
187 views

Assignment 18 PDF

The document outlines 10 functions related to strings in C language: calculating string length, reversing a string, comparing strings, transforming strings to uppercase/lowercase, checking if a string is alphanumeric, checking for palindromes, counting words, reversing words, and finding repeated characters.

Uploaded by

Sujeet Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
187 views

Assignment 18 PDF

The document outlines 10 functions related to strings in C language: calculating string length, reversing a string, comparing strings, transforming strings to uppercase/lowercase, checking if a string is alphanumeric, checking for palindromes, counting words, reversing words, and finding repeated characters.

Uploaded by

Sujeet Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment - 18 A Job Ready Bootcamp in C++, DSA and IOT MySirG

String and Functions in C Language

1. Write a function to calculate length of the string


2. Write a function to reverse a string.
3. Write a function to compare two strings.
4. Write a function to transform string into uppercase
5. Write a function to transform a string into lowercase
6. Write a function to check whether a given string is an alphanumeric string or not.
(Alphanumeric string must contain at least one alphabet and one digit)
7. Write a function to check whether a given string is palindrome or not.
8. Write a function to count words in a given string
9. Write a function to reverse a string word wise. (For example if the given string is
“Mysirg Education Services” then the resulting string should be “Services Education
Mysirg” )
10. Write a function to find the repeated character in a given string.

You might also like