xiuuao wrote: |
---|
%=, >>=, <<=, &=, ^=, |= what do these operators mean? And what are the functions of these operators? |
a X= b;
has the same meaning as a = a X b;
.xiuuao wrote: |
---|
i don't understand the program example demonstrated. Why the parentheses should be placed like this ->> (char*)data / (int*)data ? Why can't i place the parentheses like this ->> (char* data) /(int* data) ? |
char* data
declares a char pointer named data. Putting declarations inside parentheses is only allowed in some cases and is very different from a cast.