Computer Science, asked by sarimsohail, 6 months ago

define all characters functions and string functions with their syntax and example.​

Answers

Answered by siya125
6

Explanation:

String functions are used in computer programming languages to manipulate a string or query information about a string (some do both). ... The most basic example of a string function is the length(string) function. This function returns the length of a string literal.

string function with example

Strings in C: Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character '\0'. It will append copy of the source string in the destination string.

Strings are defined as an array of characters. ... Below is the basic syntax for declaring a string. char str_name[size]; In the above syntax str_name is any name given to the string variable and size is used define the length of the string, i.e the number of characters strings will store

hope it'll helps you

Similar questions