题目内容

Pointer variables cannot be used to point to elements in a struct array.

查看答案
更多问题

The base type of the pointer variable must be the same as the type of the struct variable.

There is the following definitions: struct sk { int a; float b; } data,*p;p =&data;, the correct reference to member a of data is ( )

A. (*p).data.a
B. (*p).a
C. p->data.a
D. p.data.a

Array element as actual paramenter of function, passing the first address of array.

Array name can also be used as actual parameter and formal parameter of function.

答案查题题库