1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <iostream> #include <cstring> using namespace std; int main() { char n[10]; char x[20]; x[0] = '\0'; strcat(n,"0123456"); strcat(n,x); strcat(n,x); cout << strlen(n); }
1
Line 20: error: extra tokens at end of #include directive