What's the usage of char arry? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's the usage of char arry?

8th Apr 2019, 2:48 PM
Mehedi Hasan
Mehedi Hasan - avatar
2 Answers
+ 2
It depends on what you want to do: * read a string, put the chars in an array to remove/change them or whatever --> create new string from this array * put the alphabet in it * put special characters in it
8th Apr 2019, 10:03 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
In what language do you searching the answer? In c the char* (char array) is just a string. In other languages you can use char array for example to generate password from available chars. So array is array, you can use it for many things.
8th Apr 2019, 4:54 PM
Владимир Землянушкин
Владимир Землянушкин - avatar