结构体变量的定义与初始化 — 计算机选择题
题目
若有定义 struct student { char name[20]; int age; };,下列哪条语句能正确定义并初始化一个结构体变量 s,使 name 为 "Li"、age 为 18?
A. struct student s = {"Li", 18};
B. struct student s = ("Li", 18);
C. struct s = {"Li", 18};
D. student s = {"Li", 18};