// testIt.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"

#include <iostream>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
char sz[3][32]={"hello","world","good"};
//char* ss=sz[0];  --print hello
char* ss=&sz[0][32];  //---print world
cout<<"value:"<<ss<<endl;
getchar();
return 0;
}

posted on 2010-01-17 20:36  蚂蚁跳楼  阅读(138)  评论(0)    收藏  举报