#include const char str [] ="This is a [] string."; int main ( void ) { std::cout << sizeof(str) << std::endl; return 1; }