Which of the following are themselves a collection of different data types? String, Structure, Integer, None of these
Structures and union

Flashcard
•
Computers
•
University
•
Hard
Quizizz Content
FREE Resource
Student preview

36 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Similar Resources on Quizizz
24 questions
C++ Basics

Flashcard
•
University
30 questions
C BASICS

Flashcard
•
Professional Development
29 questions
TECH FLASHCARD 105

Flashcard
•
University
30 questions
Golang 1

Flashcard
•
University
24 questions
PSUEDOCODE 2 CAPGEMINI

Flashcard
•
Professional Development
25 questions
Java temas 1-4

Flashcard
•
University
31 questions
Java

Flashcard
•
University
25 questions
Debugging Round 1

Flashcard
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University