Structures in C++
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Widayanti Mzu
Used 7+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Structure within a structure is called ......
Self Referential Structure
Nested Structure
Array of Structure
Structure of Structure
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operator connects the structure name to its member name?
-
=
.
>>
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following cannot be a structure member?
another structure
array
Function
None
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true for accessing an element of a structure
struct.element
structure_tag.element
structure_variable.element
structure_tag.structure_variable
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A structure pointing to the same structure is called .........
Self referential structure
Nested structure
Array of structures
None of the above
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The period symbol used in 'struct' is represented by
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this C code?
int main()
{
struct student
{
int no;
char name[20];
};
struct student s;
s.no = 8;
cout<< s.no;
}
Nothing
Compile error
8
Junk
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