1.A bit field is
a) A pointer variable in a structure.
b) One bit or a set of adjacent bits within a word
c) A pointer variable in a union
d) Not used in C
ANSWER: B
2.Union differs from structure in the following way
a) All members are used at a time
b) Only one member can be used at a time
c) Union cannot have more members
d) Union initialized all members as structure
ANSWER: B
3.What type of structure is created by the following definition?
struct first { . . . ; struct second *s};
struct second { . . . ; struct first *f};
a) Nested structure
b) Self-referential structure
c) Invalid structure
d) Structured structure
ANSWER: B
4.Identify the wrong syntax
a) typedef struct { member declaration; } NAME; NAME V1, V2;�
b) typedef struct tag{ member declaration; } NAME; NAME V1, V2;�
c) typedef struct { member declaration; } NAME; NAME V1, V2;�
d) typedef struct tag { member declaration; } NAME; NAME V1, V2;�
ANSWER: D
5.The changes made in the members of a structure are available in the calling function if
a) pointer to structure is passed as argument
b) structure variable is passed
c) the member other then pointer type are passed as argument
d) both option a and c
ANSWER: A
CONTINUE READING �
a) A pointer variable in a structure.
b) One bit or a set of adjacent bits within a word
c) A pointer variable in a union
d) Not used in C
ANSWER: B
2.Union differs from structure in the following way
a) All members are used at a time
b) Only one member can be used at a time
c) Union cannot have more members
d) Union initialized all members as structure
ANSWER: B
3.What type of structure is created by the following definition?
struct first { . . . ; struct second *s};
struct second { . . . ; struct first *f};
a) Nested structure
b) Self-referential structure
c) Invalid structure
d) Structured structure
ANSWER: B
4.Identify the wrong syntax
a) typedef struct { member declaration; } NAME; NAME V1, V2;�
b) typedef struct tag{ member declaration; } NAME; NAME V1, V2;�
c) typedef struct { member declaration; } NAME; NAME V1, V2;�
d) typedef struct tag { member declaration; } NAME; NAME V1, V2;�
ANSWER: D
5.The changes made in the members of a structure are available in the calling function if
a) pointer to structure is passed as argument
b) structure variable is passed
c) the member other then pointer type are passed as argument
d) both option a and c
ANSWER: A
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :