
Programming in C structures and files
Quiz
•
Other
•
University
•
Practice Problem
•
Medium
Suresh Mamidisetti
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are themselves a collection of different data types?
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
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?
Similar Resources on Wayground
15 questions
A4/B3 Maintenance Assessment Power transmission system
Quiz
•
University
12 questions
Alberta Natural Resources #2
Quiz
•
KG - University
13 questions
Accounting 100
Quiz
•
University
15 questions
Léxico general
Quiz
•
University
10 questions
Competencias Ciudadanas
Quiz
•
University
10 questions
17 course French classical menu 01
Quiz
•
University
10 questions
Pasa clases ANECAFYDE Zona Levante
Quiz
•
University
10 questions
PROFESI PENDIDIK P1-P2
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
