#include <iostream> #include <string.h> using namespace std; int main() { char *str = "ABC"; cout << strlen(str) << endl; return 0; }