#include <stdio.h>
typedef unsigned int uint;
typedef struct Node
{
int data;
struct Node* next;
}Node;
int main()
{
uint num1 = 0;
//等同于unsigned int
struct Node n;
Node n2;
return 0;
}
typedef可用来申请别名
#include <stdio.h>
typedef unsigned int uint;
typedef struct Node
{
int data;
struct Node* next;
}Node;
int main()
{
uint num1 = 0;
//等同于unsigned int
struct Node n;
Node n2;
return 0;
}
typedef可用来申请别名