Structures in C++

Quiz
•
Computers
•
12th Grade
•
Hard

visrutha m
Used 93+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Structure within a structure is called ......
Self Referential Structure
Nested Structure
Array of Structure
Structure of Structure
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which operator connects the structure name to its member name?
-
=
.
>>
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following cannot be a structure member?
another structure
array
Function
None
4.
MULTIPLE CHOICE QUESTION
45 sec • 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
45 sec • 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
45 sec • 1 pt
The period symbol used in 'struct' is represented by
7.
MULTIPLE CHOICE QUESTION
45 sec • 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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Pemahaman Dasar Komputasi

Quiz
•
9th Grade - University
10 questions
PreTest Larik/ Array

Quiz
•
11th Grade - University
8 questions
Quarter 4 Mastery Test - Programming 10

Quiz
•
9th Grade - University
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
15 questions
AP Computer Science A Review 1

Quiz
•
10th - 12th Grade
15 questions
PGAS Memory Quiz

Quiz
•
9th - 12th Grade
15 questions
Pointer Arithmetic in C Programming

Quiz
•
9th - 12th Grade
15 questions
Java Arrays Prt 1Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University