0% found this document useful (0 votes)
47 views

String Functions

The most commonly used string functions include strcat to concatenate strings, strchr for string scanning, strcmp to compare strings, strcpy to copy a string, and strlen to get string length. Other functions are strncat to concatenate part of a string, strncmp to compare parts of strings, and strncpy to copy part of a string.

Uploaded by

Pramod Choudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

String Functions

The most commonly used string functions include strcat to concatenate strings, strchr for string scanning, strcmp to compare strings, strcpy to copy a string, and strlen to get string length. Other functions are strncat to concatenate part of a string, strncmp to compare parts of strings, and strncpy to copy part of a string.

Uploaded by

Pramod Choudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

The Most Commonly-used string

functions Are As Follows:-

1. strcat - concatenate two strings.


2. strchr - string scanning operation.
3. strcmp - compare two strings.
4. strcpy - copy a string.
5. strlen - get string length.
6. strncat - concatenate one string with
part of another.
7. strncmp - compare parts of two strings.
8. strncpy - copy part of a string.

You might also like