About 4,540,000 results
Open links in new tab
  1. C String Functions - GeeksforGeeks

    Apr 16, 2025 · C language provides various built-in functions that can be used for various operations and manipulations on strings. These string functions make it easier to perform …

  2. String functions in C - DEV Community

    Dec 21, 2019 · In the standard and string libraries, however, there are many functions that are designed to work with strings. Some of the most commonly used operators are listed below. …

  3. String functions in C programming. - DEV Community

    Jan 3, 2024 · To use the string functions, we have to use <string.h> header file. char str[] = "Hello, World!"; int length = strlen(str); printf("Length of the string: %d\n", length); return 0; This …

  4. CStrings and String functions with examples - BeginnersBook

    Sep 24, 2017 · In this guide, we learn how to declare strings, how to work with strings in C programming and how to use the pre-defined string handling functions. We will see how to …

  5. String Manipulations In C Programming Using Library Functions

    Functions gets() and puts() are two string functions to take string input from the user and display it respectively as mentioned in the previous chapter. char name[30]; printf("Enter name: "); …

  6. C String Functions - W3Schools

    To compare two strings, you can use the strcmp() function. It returns 0 if the two strings are equal, otherwise a value that is not 0: For a complete reference of string functions, go to our C …

  7. C Library – <string.h> - GeeksforGeeks

    Mar 5, 2023 · string.h is a standard header file in the C language that contains functions for manipulating strings (arrays of characters). <string.h> header file contains some useful string …

  8. String Functions in C | Markaicode

    Oct 17, 2024 · Let’s explore the most commonly used string functions in C: The strlen() function calculates the length of a string, excluding the null terminator. Use strcpy() to copy one string …

  9. Strings in C - Sanfoundry

    This C program lets the user enter a quiz topic with spaces. It stores the input in the topic array using fgets. The program then removes the newline character added by fgets. Finally, it shows …

  10. String Functions in C | Learn X By Example

    Note that C doesn’t have built-in string objects or methods, so we use functions from the standard library to manipulate strings. Some operations, like Join and Replace, are implemented …

Refresh