下面结构体的定义语句中,正确的是( )
A、struct
{
int x;
int y;
int z;
}ord;
struct ord a;
B、struct
{
int x;
int y;
int z;
}ord;
ord a;
C、struct ord
{
int x;
int y;
int z;
};
struct ord a;
D、struct
{
int x,
int y,
int z;
}a;
A、struct
{
int x;
int y;
int z;
}ord;
struct ord a;
B、struct
{
int x;
int y;
int z;
}ord;
ord a;
C、struct ord
{
int x;
int y;
int z;
};
struct ord a;
D、struct
{
int x,
int y,
int z;
}a;