What is String?

String is a character array ended with a null character.(\0) This is the main difference between a character array and a string. We can perform take input a word or a sentence using this concept and can perform many actions as follows:

The nine most commonly used functions in the string library are:
  • strcat – concatenate two strings
  • strchr – string scanning operation
  • strcmp – compare two strings
  • strcpy – copy a string
  • strlen – get string length
  • strncat – concatenate one string with part of another
  • strncmp – compare parts of two strings
  • strncpy – copy part of a string
  • strrchr – string scanning operation

Here is the manual coding of the inbuilt functions to get the better ideas how string works.

Write a complete C program to find the length of a String without using function strlen()

Write a complete C program to concatenate two strings using third or temp variable but without using strcat().

Write a complete C program to concatenate two strings without using strcat().

Write a complete C program to compare strings using case sensitive and without strcmp() function.

Write a complete C program to compare strings ignoring case sensitive and strcmp() function.

Write a complete C program to Copy String Without Using strcpy()

Write a complete C program to Convert String to Lowercase without using strlwr()

Write a complete C program to Concatenate Two Strings without using strncat()

Write a complete C program to find reverse of a String without strrev() function

Write a complete C program to upper case string without using strupr() function.

Write a complete C program to Check A String Is Palindrome Or Not.

Recent Posts