#include <iostream> using namespace std; int main() { // your code goes here char c[7] = "China"; int i = sizeof(c); int j = strlen(c); cout<<i<<" "<<j; return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:8:18: error: ‘strlen’ was not declared in this scope int j = strlen(c); ^
Standard output is empty