---
title: "Discussion on \"Character Arrays Vs Strings in C++\" | Hashnode"
description: "Discussion on \"Character Arrays Vs Strings in C++\". Have you ever wondered why does character arrays even exist when we have strings to do a similar job? Well, I will talk about it in this blog."
url: "https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Character Arrays Vs Strings in C++](https://shivanshpratapblog.hashnode.dev/character-arrays-vs-strings-in-c?utm_source=hashnode&utm_medium=feed)

Have you ever wondered why does character arrays even exist when we have strings to do a similar job? Well, I will talk about it in this blog.

Jun 20, 2021 · 4 min read · shivanshpratapblog.hashnode.dev  
Updated Jun 22, 2021  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#string](https://hashnode.com/tag/string)
-   [#array](https://hashnode.com/tag/array)
-   [#arrays](https://hashnode.com/tag/arrays)
-   [#c](https://hashnode.com/tag/c)

## Written by

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

@ShivanshPratap · Indore, India

  
[View profile](https://hashnode.com/@ShivanshPratap)

Web Developer | UI/UX Designer | Competitive Coder | Blogger | Student

Hi I'm A Web Developer, A UI/UX Designer, Competitive Coder And An Engineering Student From India 😊

## Responses 5

Markdown supported · ⌘↵ to post

[Manan Jain](https://hashnode.com/@MaNaN31)

[Jun 26, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60d717bcde92ef110afddbb8)

Very Informative 🙌🙌

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

[Jun 27, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60d717bcde92ef110afddbb8#reply-60d7f436cb0aa8118c23c0e1)

Thank you Manan, glad you liked it. Stay updated, a new blog coming soon 😀🤗

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Jun 22, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60d1e1b80b02046ca1faba40)

Hi [Shivansh Pratap](https://hashnode.com/@ShivanshPratap), great article and congrats for publishing your first blog!

P.S. I noticed in the upper right part, where you have the links to the social media, twitter-link isn't working. In the other parts, it works fine :)

Keep up the quality work!

[Pavandeep Kaur 🇮🇳](https://hashnode.com/@PavandeepKaur)

[Jun 22, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60d1e1b80b02046ca1faba40#reply-60d1e933f0eac86cc6b00869)

+1 🙋‍♀️. Twitter link is not working. By the way its very informative article. Looking for more such articles SHIVANSH

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

[Jun 27, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60d1e1b80b02046ca1faba40#reply-60d7f3a6cb0aa8118c23c0d3)

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou) Thank you 😊. Yes, that was an older Twitter account. I have fixed the link, thank you for noticing 🤗.

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

[Jun 27, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60d1e1b80b02046ca1faba40#reply-60d7f403cb0aa8118c23c0db)

[Pavandeep Kaur 🇮🇳](https://hashnode.com/@PavandeepKaur) Thank you 😊. I will surely post more articles. For now, I am planning to write one article a week.

[Mohit Vishwakarma](https://hashnode.com/@MohitVishwakarma)

[Jun 20, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60cf7cb907db7a50332bf96b)

Great article bro

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

[Jun 21, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60cf7cb907db7a50332bf96b#reply-60d02970d213af500c5d26da)

Thanks Bro, glad that you liked it 😊

[Sahil khan](https://hashnode.com/@Sahil1)

[Jun 20, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60cf7875d213af500c5d1a5b)

Good job brother❤️

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

[Jun 20, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60cf7875d213af500c5d1a5b#reply-60cf797bd213af500c5d1a76)

Thanks Bhai, will be posting blogs from other topics and languages soon. 🙌😁

[Ritvik Dubey](https://hashnode.com/@ritvikdubey27)

[Jun 20, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60cf7278d213af500c5d19f8)

Great read Shivansh. Found it informative.🙌

[Shivansh Pratap](https://hashnode.com/@ShivanshPratap)

[Jun 20, 2021](https://hashnode.com/posts/character-arrays-vs-strings-in-c/60cf723307db7a50332bf8c4/comment/60cf7278d213af500c5d19f8#reply-60cf757207db7a50332bf902)

Thanks buddy, I'm glad that you liked it 🤗
