About 11,800,000 results
Open links in new tab
  1. Strings in C - GeeksforGeeks

    Nov 14, 2025 · Below, the common methods of reading strings in C will be discussed, including how to handle whitespace, and concepts will be clarified to better understand how string input …

  2. C Strings - W3Schools

    Unlike many other programming languages, C does not have a String type to easily create string variables. Instead, you must use the char type and create an array of characters to make a …

  3. Strings in C (With Examples) - Programiz

    In this tutorial, you'll learn about strings in C programming. You'll learn to declare them, initialize them and use them for various I/O operations with the help of examples.

  4. Strings in C - Online Tutorials Library

    A string in C is a one-dimensional array of char type, with the last character in the array being a "null character" represented by '\0'. Thus, a string in C can be defined as a null-terminated …

  5. Strings in C Programming (Define, Declare, Initialize, Examples)

    Learn how to define, declare, and initialize strings in C programming with clear examples. Understand the basics of working with strings in C. Read now!

  6. Strings in C with Examples: String Functions - ScholarHat

    Aug 2, 2025 · This article simplifies strings in C by explaining their structure, basic operations, and important functions for easy understanding. In this C tutorial, we'll explore what strings are, …

  7. C Programming/String manipulation - Wikibooks

    Nov 9, 2025 · In C, string constants (literals) are surrounded by double quotes ("), e.g. "Hello world!" and are compiled to an array of the specified char values with an additional null …

  8. Strings in C - Sanfoundry

    Strings in C are arrays of characters, terminated by a null character (\0). Strings can be declared using character arrays (with or without an explicit size) or pointers, but modifying strings …

  9. Strings - Learn C - Free Interactive C Tutorial

    Strings in C are actually arrays of characters. Although using pointers in C is an advanced subject, fully explained later on, we will use pointers to a character array to define simple …

  10. Strings in C: How to Declare & Initialize a String Variables in C

    Aug 8, 2024 · How to Declare a String in C? How to Initialize a String in C? How to Declare a String in C? A C String is a simple array with char as a data type. ‘C’ language does not …