So that is actually making a copy of the address and putting it in s2.
这实际上是复制一个地址,然后放置在s2中。
So it's an address, it's a pointer, address pointer, synonyms for now, so it's the address of a char so this makes sense because s1 is also the address of a char so if I wanted to make a copy of that address this is absolutely the right syntax.
是一个地址,是一个指针,地址指针,也就是,char型数据的地址,这是有意义的,因为s1也是一个char型数据的地址,所以如果我想要复制那个地址,这个绝对是正确的语法。
It may mean something different and this is sort of just stupid re-use of syntax although frankly it wouldn't really be much fun to have yet a symbol so they went with the same symbol which is pretty reasonable in the context *a of a function prototype this just means *a expect A to be the address of an int and expect B to be the address of an int.
这里的意思有点不同,这是为了重使用的目的,虽然这个符号没有什么意义,所以在函数原型中,他们就使用了相同的符号,这只是表示,期望,是一个int型的地址,期望b是一个int型的地址。
应用推荐