zoukankan      html  css  js  c++  java
  • 招聘

    用变量a给出下面的定义:
    a) 一个整型数

    b)一个指向整型数的指针

    c)一个指向指针的的指针,它指向的指针是指向一个整型数

    d)一个有10个整型数的数组 

    e) 一个有10个指针的数组,该指针是指向一个整型数的 

    f) 一个指向有10个整型数数组的指针 

    g) 一个指向函数的指针,该函数有一个整型参数并返回一个整型数

    h) 一个有10个指针的数组,该指针指向一个函数,该函数有一个整型参数并返回一个整型数

    答案是: 
    a) int a; // An integer 
    b) int *a; // A pointer to an integer 
    c) int **a; // A pointer to a pointer to an integer 
    d) int a[10]; // An array of 10 integers 
    e) int *a[10]; // An array of 10 pointers to integers 
    f) int (*a)[10]; // A pointer to an array of 10 integers 
    g) int (*a)(int); // A pointer to a function a that takes an integer argument and returns an integer 
    h) int (*a[10])(int); // An array of 10 pointers to functions that take an integer argument and return an integer

  • 相关阅读:
    Excel相关界面
    延时函数
    VBA窗体之ListView分页显示
    VBA窗体之ListView
    医疗机构税收大全及理论探讨(2018年)
    VBA_Xpath定位元素
    VBA_CSS定位元素
    VBA_DOM定位元素
    VBA_IE&HTTP
    Listbox
  • 原文地址:https://www.cnblogs.com/china-sdd/p/6774391.html
Copyright © 2011-2022 走看看