Important Notice:

Course Content
Building IoT Applications (Chapter-4) M4-R5.1
About Lesson

These String functions are:

  1. strlen():- This string function is basically used for the purpose of computing the ength of string

  2. strupr() :-  it converts string case sensitiveness into uppercase

  3. strlwr():- it converts string case sensitiveness into lowercase

  4. strcmp():- This string function is basically used for the purpose of comparing two string.

  5. strcat():- This string function is used for the purpose of concatenating two strings ie.(merging two or more strings)

  6. strcpy():- This string function is basically used for the purpose of copying one string into another string

  7. strrev():- This string function is basically used for the purpose of reversing the string.

 

Example: Program based upon string functions.

WAP to accept a string and perform various operations:

  1. To convert string into upper case.

  2. To reverse the string .

  3. To copy string into another string.

  4. To compute length depending upon user choice.

error: Content is protected !!