Structures and union
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

36 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following are themselves a collection of different data types? String, Structure, Integer, None of these
Back
Structure
2.
FLASHCARD QUESTION
Front
Which of the following cannot be a structure member? Another structure, Array, Function, None of these
Back
Function
3.
FLASHCARD QUESTION
Front
What is the output of this C code?
#include <stdio.h>
struct student
{
int no; char name[20];
};
void main()
{
student s;
s.no = 8;
printf("hello");
}
Back
Compilation error
4.
FLASHCARD QUESTION
Front
Which of the following share a similarity in syntax? 1. Union, 2. Structure, 3. Arrays and 4. Pointers
Back
2 & 3
5.
FLASHCARD QUESTION
Front
For what minimum value of x in a 32-bit Linux OS would make the size of s equal to 8 bytes? struct temp { int a : 13; int b : 8; int c : x; } s;
Back
12
6.
FLASHCARD QUESTION
Front
Which operator connects the structure name to its member name?
Back
.
7.
FLASHCARD QUESTION
Front
Size of the following union (assume size of int=2, size of float=4 and size of char=1); union ABC { int a; float b; char c; };
Back
4
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
26 questions
Labrador Police Chef (ABCs are missing)
Flashcard
•
KG
28 questions
SMHS Persian Gulf War and War on Terror
Flashcard
•
11th Grade
25 questions
Midterm Review
Flashcard
•
University
29 questions
Term DNL - FUNCTIONS :glossary
Flashcard
•
12th Grade
23 questions
C2 LSĐ
Flashcard
•
University
30 questions
mRNA and Template DNA Strands
Flashcard
•
University
21 questions
Java Flashcard-1
Flashcard
•
KG - University
26 questions
Phonetic Alphabet Flashcards
Flashcard
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University