About 12,000,000 results
Open links in new tab
  1. How do I create an array of strings in C? - Stack Overflow

    Jul 7, 2009 · There are several ways to create an array of strings in C. If all the strings are going to be the same length (or at least have the same maximum length), you simply declare a 2-d array of char …

  2. Array of Strings in C - GeeksforGeeks

    Jul 23, 2025 · In C, an array of strings is a 2D array where each row contains a sequence of characters terminated by a '\0' NULL character (strings). It is used to store multiple strings in a single array.

  3. Array of Strings in C - Online Tutorials Library

    To declare an array of strings, you need to declare a two-dimensional array of character types, where the first subscript is the total number of strings and the second subscript is the maximum size of each …

  4. Array of Strings in C Language (With Examples)

    Learn how to create and use an array of strings in C programming. Explore different methods and operations with examples, output, and explanations. Read now!

  5. An Array of Strings in C - Tpoint Tech - Java

    Mar 17, 2025 · We need to create an Array of Pointers pointing to Strings. Hence, we need to create an Array of type " char* ". This way, all the Strings are stored elsewhere in the exactly needed memory, …

  6. C: How to Correctly Declare an Array of Strings – Explaining ...

    Nov 19, 2025 · This blog post demystifies array-of-strings declarations in C. We’ll break down the differences between `const char* arr []`, `const char** arr`, and related variants, explain when to use …

  7. C Programming Basics: Part 6 – Arrays and Strings

    Mar 27, 2025 · Master C arrays and strings with practical examples. Learn array declaration, initialization, multidimensional arrays, and string manipulation in C programming.

  8. Array of Strings in C - TheLinuxCode

    May 20, 2025 · In this guide, we‘ll explore everything you need to know about creating, manipulating, and using arrays of strings in C. You‘ll learn the different approaches, memory considerations, and …

  9. How To Make An Array Of Strings In C - Mixed Kreations

    In this article, we’ll walk you through two versions of a recipe for making an array of strings in C, as well as explore some interesting trends in the world of string manipulation in C programming.

  10. 10.4. Array of Strings — Snefru: Learning Programming with C

    If we were to have an array of strings, it can be created in two ways: a 2D array of characters each row is terminated by a '\0', where each row is a string, or a 1D array of char*, where each element is …