Which of the following are themselves a collection of different data types?

Programming in C structures and files

Quiz
•
Other
•
University
•
Medium
Suresh Mamidisetti
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Strings
Structures
Unions
Both Structures & Unions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Union differs from structure in the following way
All members are used at a time
Only one member can be used at a time
Union cannot have more members
Union initialized all members as structure
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator connects the structure name to its member name?
*
.
&
+
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The size of the following union, where an int occupies 4 bytes of memory is
union demo
{
float x;
int y;
char z[10];
};
8 bytes
4 bytes
10 bytes
18 bytes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a properly defined struct?
struct {int a;}
struct a_struct {int a;}
struct a_struct int a;
struct a_struct {int a;};
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which properly declares a variable of struct foo?
struct foo;
struct foo var;
foo;
int foo;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The first and second arguments of fopen() are
A character string containing the name of the file & the second argument is the mode
A character string containing the name of the user & the second argument is the mode
A character string containing file pointer & the second argument is the mode
None of the mentioned
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
5CSE1_T&P questions

Quiz
•
University
10 questions
Network Programming quiz-TCP UDP_socket programming

Quiz
•
University
15 questions
Quiz Planet (Round-1)

Quiz
•
University
15 questions
Tech quiz Round 1

Quiz
•
University
12 questions
Ch 2 - Accessing Data - Part 1

Quiz
•
University
10 questions
A & R Week 7 Industry session assessment

Quiz
•
University
11 questions
The GOAT Quiz

Quiz
•
KG - Professional Dev...
11 questions
CGS Ultimate Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade