C Language - Structures,Unions

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

 
1.

The makeup of a structure is indicated by a

A. structure tag B. structure member definition
C. structure definition D. structure declaration




2.

The setting up of variables of a particular structure type is called a ____

A. structure tag B. structure member definition
C. structure definition D. structure declaration




3.

The ______ of a struct is the name of a data type which can now be used to declare variables of that type.

A. member B. names
C. tag D. member definitions




4.

What happens when a structure tag is defined externally?

A. Their visibility is local. B. Declarations of structure variables of that type can only be inside of the file.
C. Declarations of structure variables can then occur in the main and all functions only. D. Declarations of structure variables of that type can occur anywhere in the program




5.

When we refer to a structure data type we must precede it with the keyword

A. structure B. tag
C. type D. struct




6.

If the tag in a struct definition is omitted, what happens?

A. No variables of that type can be declared outside of the definition. B. Any declarations of variables of this structure type must be included in the definition, before the last semicolon.
C. all of the above D. a and b




1

2

3

4

5

6

7

8

9

...

next »

 
 
 



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