Computer Science, asked by samratsarkarcse123, 5 months ago

Explain different string functions with example/program

Answers

Answered by Anonymous
0

Answer:

Note: Though, gets() and puts() function handle strings, both these functions are defined in "stdio. h" header file.

...

Function Work of Function

strlen() computes string's length

strcpy() copies a string to another

strcat() concatenates(joins) two strings

strcmp() compares two strings

Answered by guptasparshi016
0

Answer:

A string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers. ... For example, the word "hamburger" and the phrase "I ate 3 hamburgers" are both strings. Even "12345" could be considered a string, if specified correctly.

Explanation:

mark me as brainliest

Similar questions