1 2 3
char *string = ""; char *currentChar = "B"; strcat(string, currentChar);
prog.cpp:1: warning: deprecated conversion from string constant to ‘char*’ prog.cpp:2: warning: deprecated conversion from string constant to ‘char*’ prog.cpp:3: error: expected constructor, destructor, or type conversion before ‘(’ token
You have reached a limit of free submissions this month.
You cannot send submissions this month anymore because of exceeding your monthly limit. Please recharge your account.
the submission is still running...