Answers for "access letter in a string in cpp"

C++
5

how to get a letter from the users string in c++

string letters = "ABC";
char letterN = letters[0];
Posted by: Guest on March-04-2020

Code answers related to "access letter in a string in cpp"

Browse Popular Code Answers by Language