1 #include <iostream>
 2 
 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */
 4 using namespace std;
 5 int main(int argc, char** argv) {
 6 char **p;
 7 char *name[]={"one","two","three","four","five"};
 8 p=name+2;
 9 cout <<*p<<endl;
10 cout <<**p<<endl;
11 return 0;
12 }

 

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2021-08-16
  • 2022-12-23
  • 2021-05-31
  • 2021-04-03
  • 2022-12-23
  • 2021-10-18
猜你喜欢
  • 2021-08-14
  • 2021-07-02
  • 2022-12-23
  • 2021-07-12
  • 2021-10-02
  • 2022-12-23
  • 2021-05-19
相关资源
相似解决方案