1️⃣ 2D Arrays with Strings (Array of Strings)

📌 What It Means

In C:


🧠 Syntax from Code

char s[n][101];
char result[n][11];

Meaning:

s[n][101]
→ n strings
→ each string max length = 100 characters + '\\0'

Why 101?

Because:


🧩 Memory Model

s[0] → first word
s[1] → second word
...

Each row behaves like:

char s[i][];

You can use: