ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

printIt("Arduino VCC: ", "32");

The code is attached. The code works but it prints the above error message.

Is there a way to do this without getting this error?

char_parameters.ino (447 Bytes)

Serial Monitor Capture.PNG

Yes, change the signature of printIt from printIt(char[32], char[32]) to printIt(const char*, const char*).

Thanks!