Some small things the C language, long forgotten almost useless:
#include<iostream> using namespace std; int main() { int m = 5; int n = 6; n += n -=m *= n; cout <<"n:"<< n<<endl; int k = 0; char a; char b[] = "hello"; char* p = b; cout << "a:"<<sizeof(a)<<"b:"<<sizeof(b)<<"c:"<<sizeof(p); return 0;
+ = - = = * from right to left such
char type of pointer, the sizeof () result is 4, sizeof length of a character array 5 "hello" result is 6, because the '\ 0' End
Loop assignment, write right.