Categories
How to display an element of a character array?
How to print an element of a character array using pointers, not indices?
char *s = "Test"; cout << s+1;
Answer the question
In order to leave comments, you need to log in
Already decided by myself. Need to use cout << *(s+2); Thank you all.
cout << *(s+2);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question