Change 'Lipton' to "Lipton" in the problem line and the compilation error will disappear.
In C / C ++, double-quoted expressions are strings (or, technically, string literals) and are allowed to be of type char * or const char * , while single-expression expressions are characters (or character literals) and are permitted by char (which can be implicitly executed on int ). This explains your mistake: the compiler cannot convert the integer char to const char * , which requires a function signature.
source share