count chars | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

count chars

how can i count the DIFFERENT characters of an array(not string) in c++? as an instance, an array of 'qwwer' has 4 different characters.

18th Oct 2017, 2:31 PM
Sarah
0 Answers