C - Structures

Quiz
•
Computers
•
University
•
Medium
Ise Jnnce
Used 104+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following operation is illegal in structures?
Typecasting of structure
Pointer to a variable of same structure
Dynamic allocation of memory for structure
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the size of a C structure?
C structure is always 128 bytes
Size of C structure is the total bytes of all elements of structure
Size of C structure is the size of largest element
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operator connects the structure name to its member name?
-
.
/
\
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following cannot be a structure member?
Another structure
Array
Function
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Number of bytes in memory taken by the below structure is?
struct test
{
int k;
char c;
};
Multiple of integer size
integer size+character size
Depends on the platform
Multiple of word size
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Size of a union is determined by size of the
Biggest member in the union
First member in the union
Last member in the union
Sum of the sizes of all members
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A C structure or User defined datatype is also called ________.
Derived data type
Secondary data type
Aggregate data type
All the above
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
C programming syntax quiz

Quiz
•
University
15 questions
C Language Quiz-1

Quiz
•
University - Professi...
18 questions
CP-String

Quiz
•
University
20 questions
Quiz I - Programming in C

Quiz
•
University
16 questions
UC_TM03_Arrays_Functions

Quiz
•
University - Professi...
25 questions
Compro. Final1/64 part2

Quiz
•
University
18 questions
Programming in C language

Quiz
•
12th Grade - University
20 questions
CCE-III Programming in C Language

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th 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
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University