Explain different string functions with example/program
Answers
Answered by
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
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
Science,
2 months ago
Math,
2 months ago
Math,
2 months ago
Computer Science,
10 months ago
Chemistry,
10 months ago