C Language - Structures,Unions

You Are Here :: Home > C Language > Structures,Unions General Questions

 
7.

The ____ is called the member operator.

A. , B. ->
C. . D. *




8.

Associatively of the member operator is _.

A. up to down B. right to left
C. down to up D. none of the above




9.

struct { int x,y; };

The above struct definition indicates ____ member definitions.

A. 1 B. 2
C. 0 D. many




10.

struct x { int y; struct x next;} *head;

struct x *w=head;
y is a _____.

A. pointer member definition B. member definition
C. tag D. a member definition which will signify the end of the list




11.

struct x { int y; struct x next;} *head;

struct x *w=head;
If we were to maintain an ordered list using the above declarations, the list would be ordered how?

A. In alphabetical order. B. In numeric order.
C. In an order determined by the addresses contained w and head. D. none of the above.




12.

struct x { int y; struct x next;} *head;

struct x *w=head;
The statement head=w; would transfer ____from w to head.

A. nothing B. the address contained in w
C. the structure contained in w D. the entire linked list pointed to by w




« previous

1

2

3

4

5

6

7

8

9

...

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on