指針數組與指向指針的指針的區別

#include <stdio.h> int main() { char *s[4] = {"welcome","to","new","Beijing"}; char **p = s + 1; int i; s[0] = (*p++) +1; s[1] = *(p + 1); s[2] = p[1] + 3; s[3] = p[0] + (s[
相關文章
相關標籤/搜索