for(char d:s) c++ code example
Example: c++ declare char
// syntax:
// char <variable-name>[] = "<string/char-you-want-to-store>";
// example (to store 'Hello!' in the YourVar variable):
char YourVar[] = "Hello!";
// syntax:
// char <variable-name>[] = "<string/char-you-want-to-store>";
// example (to store 'Hello!' in the YourVar variable):
char YourVar[] = "Hello!";