I have some code
int main(int argc, char* key[] ) {
cout &l开发者_JS百科t;< strlen(key[1]) << endl;
cout show 4.
now using gdb(gdb)print strlen(key[1])
shows -147660784
What is the reason for this difference?Could it be related to this bug? http://osdir.com/ml/debian-bugs-dist/2010-09/msg00019.html
精彩评论