Complex c definitions

xiaoxiao2021-03-06  42

Sender: Nova_ZHAO (people-oriented), original believer: USTCBBS

Title: Complex C Definitions

Sending Station: China BBS Station (Tue, 04 Apr 2000 13:37:29), station letter

INT I;

// i as an in

INT * i;

// i as a pointer to an int

INT ** i;

// i is a pointer to a pointer to an Int

INT * (* i) ();

// i is a pointer to a function return a Pointer to int

INT * (* i []) ();

// i is an array of pointers to functions returbining pointers to an int

INT * i [5];

// i is an array of 5 Pointers to int

Int (* i) [5];

// i is a pointer to an array of 5 INTS

INT * i ();

// i is a function return a pointer to an an int

INT (* i) ();

// i is a pointer to a function return int

INT * (* (* i) ()) [5];

// i is a pointer to a function return a Pointer to an array of 5 Pointers to an Int

-

※ Source: China University of Science and Technology BBS Station [

Bbs.ustc.edu.cn]

转载请注明原文地址:https://www.9cbs.com/read-68953.html

New Post(0)