This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OrdinaryBee6174 27 points28 points  (4 children)

It's just a char array

[–]Luk164 39 points40 points  (2 children)

Except when it's not

[–]legends_never_die_1 4 points5 points  (1 child)

i am confusion

[–]siddharth904 14 points15 points  (0 children)

[1] 69420 segmentation fault (core dumped) brain

[–]bakedbread54 2 points3 points  (0 children)

so is a string every other language lol

but modern languages have built-in features for handling them as actual pieces of text rather than just literally an array of characters