printf("%d", sizeof("a"));printf("%d", sizeof('a'));printf("%d", sizeof(char));
C++ (Qt)while(!asleep()) sheep++;
C++ (Qt)char test[2] = ['a', 0];
//Title of this code#include <iostream>using namespace std;template<size_t N>void View( const char (&a)[N] ){ cout<< "it is array\n"; for( const auto& i: a) cout<< "item = "<< i<<endl;}template<size_t N>void View( const char* p ){ cout<< "it is pointer\n";}int main(){ cout << "Hello, world"<<endl; cout << typeid("Hello, world").name()<<endl; View("Hello, world");}