zoukankan      html  css  js  c++  java
  • 关于指针数组、数组指针、指针函数、函数指针等的问题

     用变量a给出下面的定义

    a) 一个整型数(An integer

    a) int a; 

    b)一个指向整型数的指针( A pointer to an integer

    b) int *a; 

    c)一个指向指针的的指针,它指向的指针是指向一个整型数( A pointer to a pointer to an intege)r

    c) int **a;

    d)一个有10个整型数的数组( An array of 10 integers

    d) int a[10]; 

    e) 一个有10个指针的数组,该指针是指向一个整型数的。(An array of 10 pointers to integers

    e) int *a[10]; 

    f) 一个指向有10个整型数数组的指针( A pointer to an array of 10 integers

    f) int (*a)[10]; 

    g) 一个指向函数的指针,该函数有一个整型参数并返回一个整型数(A pointer to a function that takes an integer as an argument and returns an integer

    g) int (*a)(int ); 

    h) 一个有10个指针的数组,该指针指向一个函数,该函数有一个整型参数并返回一个整型数( An array of ten pointers to functions that take an integer argument and return an integer 

    h) int (*a[10])(int );

     

  • 相关阅读:
    Hbase-06-Snapshot原理
    Hbase-05-备份表数据
    Hbase-04-hbck
    Python Exception Handling
    10.TiPD 调度
    8.存储引擎TiFlash
    6.TiDB数据库的存储
    7.存储引擎TiKV
    4.Tidb SQL优化(一)
    5.TiDB SQL优化(二)
  • 原文地址:https://www.cnblogs.com/smile-at-you/p/3357805.html
Copyright © 2011-2022 走看看