What is a char* declaration in arduino? -


what declaration likechar *song; * does? array, pointer or else?

the * (asterisk) indicates variable pointer. small example:

int x = 0; int *y = &x; //y pointing x const char* mytext = "text"; 

you might interested in learning bit more what pointers are.


Comments