Here are the notes for the topic Strings and String Manipulation Working with Strings in Markdown format Strings and String Manipulation Working with Strings In C language strings are defined as an array of characters Strings are terminated by a null character 0 Some basic operations on strings are Length of string Copying of strings Concatenation of strings Comparing of strings Length of String The length of a string can be calculated using the built in function strlen Example int strLength strlen string Concatenation of string To concatenate two strings the built in function strcat can be used Example strcat destination source Comparing of Strings To compare two strings the built in function strcmp can be used Example int comparison strcmp string1 string2 if comparison 0 string1 is less than string2 if comparison 0 string1 is greater than string2 if comparison 0 string1 is equal to string2 That s it for the notes on Strings and String Manipulation in C language I hope it helped
View Full Document