if there isint (*p)(int,int); int max(int,int); then p=max(a,b); is correct.
查看答案
if there is int (*f)(int);, the following statement is correct ( )
A. f is a pointer variable of base type int.
B. f is a pointer variable to a function with a parameter of type int
C. f is a pointer variable to an int type one-dimensional array
D. f is the name of the function whose return value is an address with a base type of int
The initial value cannot be assigned to the structure array, that is, the array cannot be initialized.
Each element of a struct array is data of a struct type.
According to the following definition, the statement that can output the letter 'M' is ( ). struct person { char name[9]; int age; } struct person class[10]={ 〞John〞,17, 〞Paul〞,19, 〞Mary〞,18, 〞Adam〞,16};
A. printf(〞%c\n〞,class[3].name);
B. printf(〞%c\n〞,class[3].name[1]);
C. printf(〞%c\n〞,class[2].name[1]);
D. printf(〞%c\n〞,class[2].name[0];