题目内容

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.

#include#define N 4 void fun(int a[][N], int b[]) { int i; for(i=0;i

A. 1,2,3,4,
B. 1,0,7,0,
C. 1,4,5,9,
D. 3,4,8,10,

答案查题题库