为什么可以在结构体里面声明一个结构体指针呢
#include<stdio>
struct weapon {
int price;
int atk;
struct weapon * next;
};
int main(){
struct weapon a, b, c, *head
#include<stdio>
struct weapon {
int price;
int atk;
struct weapon * next;
};
int main(){
struct weapon a, b, c, *head
2016-10-17
举报