【发布时间】:2016-04-18 04:32:49
【问题描述】:
如何从索引 1 中的字符串数组中的字符串访问 char,但使用指针方式我的意思是这种方式 *(abc + i) 例如:
int main(int argc, char** argv)// argc =2, argv = file name and "abcd"
{
printf("%c",____)//<--- here i want b from argv
...
}
【问题讨论】:
-
*(*(argv + 1) + 1)