
C Prog Structure & Union
Quiz
•
Computers
•
University - Professional Development
•
Practice Problem
•
Hard

shafali dhall
Used 19+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Choose the incorrect statements.
Array stores data of only same type
Array can be a part of a structure
Array of structure is allowed
Structure stores data of the same or different type
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following comments about union are false?
Union is a structure whose members share the same storage area.
The compiler will keep track of what type of information is currently stored.
Only one of the members of union can assigned a value at a particular time.
Size allocated for union is the size of its member needing the maximum storage.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following comments about the usage of structure is true?
Storage class can be assigned to an individual member.
Individual members can be initialized within a structure type declaration.
The scope of a member name is confined to the particular structure, within which it is defined.
None of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
a-->b is syntactically correct if
a and b are structures
a is a structures and b is a pointer to a structure
a is a pointer to a structure in which b is a field
a is a pointer to a structure in which b is a field
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
typedef is a ............
fundamental Data Type
Derived data type
User defined data type
None of above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one is not user defined data type...
Funtion
Enumeration
structure
Union
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Structure members can be access using object and
- (dot) operator
-> (arrow) operator
+ operator
All of Above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade