Starting Vocational Training From 1-May-2024 Get Detail
Write a program in C to find maximum occurring character in a string.
Test Data :
Input the string : Welcome to w3resource.com.
Expected Output :
The Highest frequency of character e appears number of times : 4
Write a program in C to copy one string to another string.
Test Data :
Input the string : This is a string to be copied.
Expected Output :
The First string is : This is a string to be copied. The Second string is : This is a string to be copied. Number of characters copied : 31
Write a program in C to count total number of alphabets, digits and special characters in a string.
Test Data :
Input the string : Welcome to w3resource.com
Expected Output :
Number of Alphabets in the string is : 21 Number of Digits in the string is : 1 Number of Special characters in the string is : 4
Write a program in C to compare two string without using string library functions.
Test Data :
Input the 1st string : This is first string
Input the 2nd string : This is first string
Expected Output :
The length of both strings are equal and also both strings are equal.
Write a program in C to count the total number of words in a string.
Test Data :
Input the string : This is sensible academy
Expected Output :
Total number of words in the string is : 4
Write a program in C to print individual characters of string in reverse order. Go to the editor
Test Data :
Input the string : sensible
Expected Output :
The characters of the string in reverse are : e l b i s n e s
Write a program in C to separate the individual characters from a string.
Test Data :
Input the string : w3resource.com
Expected Output :
The characters of the string are : w 3 r e s o u r c e . c o m
Write a program in C to input a string and print it.
Test Data :
Input the string : Welcome, w3resource
Expected Output :
The string you entered is : Welcome, w3resource