#include #include #include //for strlen in line 9 #include //for class string in line 11 using namespace std; int main(int argc, char **argv) { cout << strlen(argv[0]) << "\n"; //argv[0] is just a char * string s = argv[0]; cout << s.size() << "\n"; return EXIT_SUCCESS; }